-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[MetricBeat] Add up metric for health status #15948
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
Thank you so much for contributing 🎉 ! This PR looks good to me. Could you please check the lint errors? |
@exekias fixed lint error. Thanks for the suggestion. |
Tests seem to be failing, we use some golden files to test the output of the module, you can update them with this command:
|
sorry, wrong button 😇 |
Executed |
ok to test |
* Add UP metric, useful for instance availability monitoring (cherry picked from commit 1c32be3)
Thanks a lot @exekias |
Thank you!! |
Enhancement: This PR adds up metric to metrics scraped from host. It will be useful for instance availability monitoring.
Sample metric:
up{job="prometheus",instance="localhost:8080"} 1