Archive: https://archive.sweetops.com/prometheus/ 2020-04-01 Abel Luck 10:19:17 AM 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) 05:43:58 PM 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) 05:44:29 PM https://prometheus.io/docs/instrumenting/writing_exporters/#failed-scrapes 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