4 ms·
Nice, do I understand it correctly that this would mean there is a straight forward way to let Prometheus ingest the new histogram type without needing any new
by wdb 3y ago
Nice, do I understand it correctly that this would mean there is a straight forward way to let Prometheus ingest the new histogram type without needing any new daemons (like otel-collector)?
Currently, it doesn't appear the text format for pull metrics doesn't appear to support it.
- bboreham 3y agoThe protobuf format supports native histograms. That’s the most straightforward way, if you have a client library for it. Go does, for instance. OpenTelemetry is push, so if you need pull and no new daemons this PR doesn’t help you.
- wdb 3y agoYeah, I have been reading up a bit. Only it's not clear to me if the protobuf format and text format can be mixed? Can one service A use text-format and service B use protobuf both scrapped by the same Prometheus sidecar?
- bboreham 3y agoYes. Scraping is done over http, and the format is negotiated via the ‘accept:’ header.