3 ms·
The protobuf format supports native histograms. That’s the most straightforward way, if you have a client library for it. Go does, for instance. OpenTelemetry
by bboreham 3y ago
The 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.