Expand description
Metric names and recorder setup.
Names carry the nomisync_ prefix because the series land in a
VictoriaMetrics shared with every other app on the cluster: a bare
http_requests_total would collide with anything else exporting the obvious
name, and an ad-hoc query without a namespace filter would silently mix them.
Keeping the names here as constants means the exporter and any test that
asserts on them cannot drift apart. The recorder itself is
server::telemetry::recorder.
Constantsยง
- AUTH_
THROTTLED - Auth attempts refused by the per-address throttle.
- HTTP_
REQUESTS - Requests served, labelled by method, matched path and status.
- HTTP_
REQUEST_ DURATION - Request latency in seconds, same labels; buckets live in
server::telemetry::recorder. Web request latency in seconds.