You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the same amount of output, but with all the timestamps set to equal the latest known for the series (fetching http://gw:9091/metrics). Except the _count and _sum has been deduplicated:
Yeah, I guess the parser should notice if duplicate quantiles are set and only take the latest. And at least warn... See prometheus/client_golang#150 where this has to be fixed.
On a more general note, the problem is that the text format is a very imperfect representation of the "truth". The native metric format of Prometheus is defined in https://github.com/prometheus/client_model/blob/master/metrics.proto .
While a summary looks like many independent time series in the text format as well as in the representation on the server, in the protobuf format all the quantiles and the sum and the count are just one complex metric with one timestamp.
I tried pushing a bunch of historical data to pushgw:
I get the same amount of output, but with all the timestamps set to equal the latest known for the series (fetching
http://gw:9091/metrics
). Except the_count
and_sum
has been deduplicated:(Extra linebreaks are mine.)
The text was updated successfully, but these errors were encountered: