Service Metrics: Prometheus Configuration
ESS services expose metrics in Prometheus format, which can be collected by Prometheus or any metrics collector that supports the Prometheus format. ESS-specific metrics use the prefix inrupt_, followed by the service name (for example, inrupt_storage_) or, for shared components, the component name (for example, inrupt_kafka_). Counters are exposed with a _total suffix.
To enable discovery and scraping by an appropriately configured metrics scraper, those ESS services that emit metrics have the following annotations in their spec:
---
spec:
template:
metadata:
annotations:
prometheus.io/port: "9000"
prometheus.io/scheme: https
prometheus.io/scrape: "true"
prometheus.io/path: /q/metricsFor services with these annotations, metrics scrapers can collect metrics from the services' Kubernetes pods by making an HTTPS request on port 9000 with a path of /q/metrics.
See also:
ESS Metrics for specifics on metrics emitted by ESS services.
Last updated