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 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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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