Metrics in Prometheus format
Returns the same operational snapshot as GET /api/v1/iad/metrics in Prometheus text exposition format (text/plain; version=0.0.4; charset=utf-8). HTTP-level series use the facephi_ prefix and the service's own blocks (identity, state, usage, quality and alerts) use the facephi_iad_ prefix. The descriptive text of the snapshot (lastError and the alert messages) is only published in the JSON response.
get
Respostas
200
Operational metrics as Prometheus text.
text/plain
stringOpcional
400
The service is not initialized.
application/json
get/api/v1/iad/metrics/prometheus
GET /api/v1/iad/metrics/prometheus HTTP/1.1
Host: 127.0.0.1:6982/
Accept: */*
# TYPE facephi_requests_total counter
facephi_requests_total 42
# TYPE facephi_iad_state_classification gauge
facephi_iad_state_classification{classification="ok"} 1
facephi_iad_state_classification{classification="degraded"} 0
Atualizado