Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Add last_state metric #357

Merged
merged 1 commit into from
Apr 23, 2020
Merged

Add last_state metric #357

merged 1 commit into from
Apr 23, 2020

Conversation

cep21
Copy link
Contributor

@cep21 cep21 commented Apr 22, 2020

It is a bit difficult to alert on sync_calls since they trigger into an error state and may stay there.
This adds the gauge last_state. With last_state, people can easily alert on a value < 0 to indicate failure.

@cep21 cep21 force-pushed the metrics branch 4 times, most recently from 3ee03ae to 4744b96 Compare April 22, 2020 22:53
It is a bit difficult to alert on sync_calls since they trigger into an error state and may stay there.
This adds the gauge last_state.  With last_state, people can easily alert on a value < 0 to indicate failure.
@Flydiverny Flydiverny merged commit 1d9d237 into external-secrets:master Apr 23, 2020
karan-kap pushed a commit to aeristhings/kubernetes-external-secrets that referenced this pull request Apr 25, 2020
It is a bit difficult to alert on sync_calls since they trigger into an error state and may stay there.
This adds the gauge last_state.  With last_state, people can easily alert on a value < 0 to indicate failure.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants