Re:Can I have a smaller Prometheus
by momothereal on Friday January 28, 2022 @05:53PM
(#30121597)
To be precise it was the other way around. OpenMetrics is a standardization effort for the format Prometheus made up.
However Prometheus was designed before JSON was standardized itself, so I'm just glad they didn't choose XML!
And the Prometheus format is a copy of the "varz" format
Sorta, I would say it's an evolution of varz.
IIRC (it's been almost a decade since I used varz), having multiple label values would be a map of maps in varz. It got quite ugly if you wanted to have a number of dimensions.
https://github.com/OpenObservability/OpenMetrics/blob/main/s...