Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea: load timeseries into telemetry DB #340

Open
sbailey opened this issue Apr 10, 2023 · 1 comment
Open

idea: load timeseries into telemetry DB #340

sbailey opened this issue Apr 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@sbailey
Copy link
Collaborator

sbailey commented Apr 10, 2023

Passing on an idea from Klaus into a ticket: past efforts to implement timeseries plots for nightwatch (or desiperfapp) have gotten bogged down in the need to create and load a database so that the timeseries can be queried fast enough to usefully plot. But we already have a telemetry database containing a bunch of other timeseries and a graphana server at telemetry.desi.lbl.gov for plotting them. So the idea: create a script that loads nightwatch output into the existing opsdb so that we can leverage the existing graphana telemetry server for visualization? This could run as an optional last step for each event processed at KPNO (the NERSC copy would not attempt the loading, since the DB there is read-only). Or it could be a completely independent desi-7 cron job that runs every ~hour and loads any new exposures. @jose-bermejo @sybenzvi if you like this idea, coordinate with Klaus for access to the opsdb loading (and make sure credentials don't end up in the nightwatch repo etc. :)

@sybenzvi
Copy link
Contributor

Not a bad idea... it would save quite a bit of time and effort. We'll talk to Klaus about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants