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.
👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.
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: