Why Metric values reset when application restarts #3524
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
-
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