4 ms·
What a bizarre claim. Prometheus scrapes the same text format as OpenMetrics 1.0 and over 700 public exporters use this format, and there are TONS of other non
by slimsag 5y ago
What a bizarre claim.
Prometheus scrapes the same text format as OpenMetrics 1.0 and over 700 public exporters use this format, and there are TONS of other non-Prometheus software that consume the exact same text format. Prometheus's biggest competitor, Datadog (which is not open source mind you), consumes it too. I think even Grafana consumes it directly. It's becoming an IETF standard[0].
Would I have preferred JSON over a custom text format like this? Yeah. But to claim an open source project like Prometheus with effectively no business at all is using a text format like this to have vendor lock-in? That's quite a stretch.
[0] https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#introduction https://github.com/OpenObservability/OpenMetrics/blob/main/s...
- akireu 5y agoI apologize for my mistake, then. My understanding was based on reading the Prometheus docs on making exporters alone - something I needed urgently for a job.
- slimsag 5y agono apology needed, I am sorry the world has a culture of mistakes being a bad thing.
- morelisp 5y ago> Prometheus scrapes the same text format as OpenMetrics 1.0 I find the GP's claims weird - I've written a relative ton of collectors, exporters, and translators and the format is pretty OK, not worse than most that came before it and better than lots - but I think this relationship is backwards. Prometheus "scrapes OpenMetrics" because OpenMetrics was formal documentation of what Prometheus was already doing for years. I would not have preferred JSON. That an exposed metric is also a query is also pretty close to a schematic definition is nice.