nginx_up metric name is misleading #978
Labels
enhancement
Pull requests for new features/feature enhancements
help wanted
Issues identified as good community contribution opportunities
proposal
An issue that proposes a feature request
refined
Issues that are ready to be prioritized
Describe the bug
nginx_up's name implies that it indicates whether nginx is up or not - not that the scrape was successful, as the documentation for nginx-prometheus-exporter states. As such, this creates an opportunity to confuse users by giving them false negatives - they will believe that nginx is down based on
nginx_up
returning 0 - when in reality, nginx returned a perfectly normal HTTP error, which it could have not done if it wasn't up.To reproduce
Steps to reproduce the behavior:
Expected behavior
If nginx_up's definition were consistent with its name, it would return true. The status of whether a scrape has succeeded, should be described in a different metric.
Your environment
The text was updated successfully, but these errors were encountered: