Why metric values are regenerating for each browser session #2896
Unanswered
manu-balakrishnan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to export custom metrics to Prometheus using OTLP metric exporter. Even though it is exporting to Prometheus, metric values are generating per browser session. For example, consider a counter metric which gets incremented as per the number of button clicks. If we clicks button 5 times, counter value will increment to 5. however when I close the browser session, reopening the app ( or logout and re-login) and clicking button, counter value will start incrementing from zero instead of 5.
Is there a way to keep the actual metric value even after logout/closing browser session?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions