-
Notifications
You must be signed in to change notification settings - Fork 374
Open
Labels
communityIssues or PRs opened by an external contributorIssues or PRs opened by an external contributorwaiting for responseWaiting for author's responseWaiting for author's response
Description
Describe the bug
I'm running nginx-prometheus-exporter as a container sitting next to my nginx container. The container with NPE randomly dies for no reason. It just logs:
{"time": actual time,"level":"INFO","source":"exporter.go:217","msg":"shutting down"}
{"time": actual time,"level":"INFO","source":"exporter.go:208","msg":"HTTP server closed","error":"http: server closed"}
Despite the fact that NPE was started with --log.level=debug, there's really nothing elaborated on why the HTTP server shut down.
To reproduce
Steps to reproduce the behavior:
- Deploy NPE with
--log.level=debug. - Wait 4 minutes, or 4 hours, or 12 hours.
Expected behavior
NPE should explain why it shut down so that I actually fix it.
Your environment
- Version of the Prometheus exporter - 1.4.1
- Version of Docker/Kubernetes - not relevant
- [if applicable] Kubernetes platform (e.g. Mini-kube or GCP): Mirantis
- Using NGINX or NGINX Plus: NGINX
Metadata
Metadata
Assignees
Labels
communityIssues or PRs opened by an external contributorIssues or PRs opened by an external contributorwaiting for responseWaiting for author's responseWaiting for author's response