-
Notifications
You must be signed in to change notification settings - Fork 808
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
Metrics: Startup time #1788
Comments
I'm not exactly sure what we'd publish in |
To my understanding Teku and Prysm return the unix timestamp of the start of the main process. |
@stefa2k
Reduce to the last value if you got multiple validator. It will provide you with a good enough estimation of when your beacon node restarted. Still looking for a reliable not resource intensive way to know when the validator process restarded |
@stefa2k
Best regards |
Oh I understand. Sorry, I was reading this as "the duration LH took to start up" instead of "the timestamp at which LH was started". This seems quite easy to achieve. |
## Issue Addressed Resolves #1788 ## Proposed Changes As per #1788, expose the time at which the process started via the `process_start_time_seconds` Prometheus metric. This will help users track uptime. ## Additional Info NA Co-authored-by: Michael Sproul <[email protected]>
Thanks <3 |
Description
There is currently no way to tell the startup time of lighthouse components, except using OS features. Accessing this information on OS level rises security concerns.
Present Behaviour
No metrics of startup time/up time present.
Expected Behaviour
Publishing information about startup time on
process_start_time_seconds
like teku and prysm do.The text was updated successfully, but these errors were encountered: