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
{{ message }}
Repository navigation
Commit a46b0aa
Browse filesBrowse the repository at this point in the historyBrowse files
Drop _count too for negative-bucket histograms in OpenMetrics 1.0
OpenMetrics 1.0 only allows _count on a histogram when it has a _sum,
so dropping just _sum left output that this library's own OpenMetrics
parser rejects ("_sum/_gsum must be present if _count is present").
Drop both, like HistogramMetricFamily already does. The +Inf bucket
still has the count.
Also write a custom bucket with a malformed le out as is, instead of
failing the whole OpenMetrics 1.0 output.
Signed-off-by: Haegan McGarry <[email protected]>
0 commit comments