Expand description
The Prometheus protobuf exposition format (io.prometheus.client.MetricFamily,
length-delimited), served by GET /metrics to a scraper that asks for it.
It is the only format that carries native histograms.
Families come from the text output of every other producer
([parse_text]: counters, gauges and classic histograms) plus
http_server_request_duration_seconds built directly, with its classic
buckets and its native (schema 3) ones side by side. Field numbers are
those of prometheus/client_model metrics.proto.
Constants§
- PROTOBUF_
CONTENT_ TYPE - The
Content-Typeof the protobuf format, also what a scraper’sAcceptnames.
Functions§
- accepts_
protobuf - Whether an
Acceptheader asks for the protobuf format (with aqabove 0). - protobuf
- Every metric, protobuf-encoded.