-
Notifications
You must be signed in to change notification settings - Fork 38
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
Harvest should create resolution metrics for health alerts #2804
Comments
@faguayot This feature is available through nightly builds. Please do provide your feedback once you've had a chance to try these changes. We publish a value of 1 for health metrics when an alert is detected and 0 once it is resolved. |
Hello @rahulguptajss, The other alerts related to health that I have in my prometheus database are the following: Thanks. |
@faguayot The names of the alerts will remain the same. The only difference is in the value: a value of For example, |
Ok, in that case I can't check the information until something happens in the HA. I thought that you write everytime the good state (in this case a 0) and when something happens you will write a 1 (failed state). I don't know if you can test it and show me the information available for the metric. When something happens in our environment, I will be pending to review these parameters. Thanks for the implementation. |
@faguayot We only record a failed state (1) when an issue occurs. Once the issue is resolved, we write a good state (0) to signal the resolution. Below is an example with When the LIF is not home, we continuously publish the following until a failure state is detected: ![]() Once the LIF is back home, we publish a good state (0) once to indicate the issue is resolved: ![]() |
Verified in 24.08 with commit 4e3945c |
Thanks @faguayot for raising here
The text was updated successfully, but these errors were encountered: