News for hackers. Stuff that matters.
Re:Ingest OpenTelemetry metrics with Prometheus natively by wdb on Saturday July 29, 2023 @07:42AM (#36919242)
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.

Re:Ingest OpenTelemetry metrics with Prometheus natively by bboreham on Saturday July 29, 2023 @10:38AM (#36920751)
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.

Re:Ingest OpenTelemetry metrics with Prometheus natively by wdb on Sunday July 30, 2023 @07:19AM (#36930020)
Yeah, 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?

Re:Ingest OpenTelemetry metrics with Prometheus natively by bboreham on Monday July 31, 2023 @01:33AM (#36939131)
Yes. Scraping is done over http, and the format is negotiated via the ‘accept:’ header.