Why metric values reset once application restarts and not considering values from TSDB #5796
Unanswered
manu-balakrishnan
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Can you add some "value" examples of what the application emits, and what you expect to see? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I also want to know what to do. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Was anyone able to resolve this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am exporting application custom metrics to Prometheus TSDB with the help of OTLP exporter and Otel collector. Application is exporting metric values to Prometheus successfully and able to view same value in Prometheus UI. However, when application restarts, metric values are resetting to its default value and start updating based on default value instead of last value which got saved in Prometheus TSDB.
Is there any way to update the metric as per last value that saved in TSDB even after application restarts?
here is my configurations:
docker-compose.yaml:
otel-collector-config.yaml
Prometheus.yaml
OTLP Exporter (.NET):
Beta Was this translation helpful? Give feedback.
All reactions