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 also couldn't export metrics to prometheus and could fix it by changing the way the exporting is done. According to the specs non_monotonic type sum is based on the instrument. Doing this:
on the metrics otlp exporter already solved the issue for me. The is_monotonic attribute should be tied to the Sum class though, as it is in other implementations. The parameter is usually set when initializing the sum aggregation object, in: python impl js impl go impl
I am trying to do something similar but unsure if this is the way to to go.
The counter should be adjustable for monotonic operations so that, when enabled, it prevents any negative values.
Related discussion: #1778
Related docs:
The text was updated successfully, but these errors were encountered: