-
Notifications
You must be signed in to change notification settings - Fork 372
nginx_up metric name is misleading #978
Copy link
Copy link
Open
Labels
enhancementPull requests for new features/feature enhancementsPull requests for new features/feature enhancementshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesproposalAn issue that proposes a feature requestAn issue that proposes a feature requestrefinedIssues that are ready to be prioritizedIssues that are ready to be prioritized
Metadata
Metadata
Assignees
Labels
enhancementPull requests for new features/feature enhancementsPull requests for new features/feature enhancementshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesproposalAn issue that proposes a feature requestAn issue that proposes a feature requestrefinedIssues that are ready to be prioritizedIssues that are ready to be prioritized
Type
Projects
Status
🏗 In Progress
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_upreturning 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