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 Prometheus /metrics with lock state, transitions #4

Merged
merged 3 commits into from
Sep 2, 2020

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented Sep 2, 2020

  • Add lock state GaugeVec to allow alerting when a lock has been held for too long, indicating a possible auto-update
    problem
  • Add lock transition GaugeVec as metadata. The value may reset (e.g. if Kubernetes lease is deleted and recreated)
  • Add Counters for lock and unlock request counts

* Add lock state GaugeVec to allow alerting when a lock has
been held for too long, indicating a possible auto-update
problem
* Add Counters for lock and unlock request counts
* Add lock transition GaugeVec as metadata. The value may
reset (e.g. if Kubernetes lease is deleted and recreated)
@dghubble dghubble merged commit b517f7c into master Sep 2, 2020
@dghubble dghubble deleted the add-prometheus-metrics branch September 2, 2020 04:52
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.

1 participant