#prometheus (2020-04)
Archive: https://archive.sweetops.com/prometheus/
2020-04-01
Abel Luck
I’m writing a small exporter for a custom service, does anyone know what an exporter’s /metrics
should return when requests to the underlying service fail entirely, and so no metrics can be returned?
Erik Osterman (Cloud Posse)
Hrm… presumably a 50x status code. Found this, but it might be fore the general promethus api a dn not the exporter api. https://prometheus.io/docs/prometheus/latest/querying/api/
HTTP API | Prometheus
An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
Erik Osterman (Cloud Posse)
Writing exporters | Prometheus
An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
1