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

Add a server uptime gauge #159

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Add a server uptime gauge #159

merged 1 commit into from
Nov 14, 2023

Conversation

suckatrash
Copy link
Contributor

It would be useful to have a metric for uptime in addition to the existing start_time.

I had been looking at creating some alerts around NATS process uptime, and found that start_time was a bit difficult to use, mostly due to limitations in Prometheus around detecting a change in an instant vector

Copy link
Collaborator

@caleblloyd caleblloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@suckatrash suckatrash merged commit 08b40ef into main Nov 14, 2023
1 of 2 checks passed
@suckatrash suckatrash deleted the erik/add-uptime branch November 14, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants