Process Start Time Metric #13553
-
For some of our services, we're currently using the Java Agent to open a Prometheus server and scraping the metrics using Grafana Alloy. However, we recently noticed that the OTel provided metrics do not include process_start_time_seconds like the metrics we see from Spring Boot apps. In Grafana, we use this metric for restart detection: If the metric changes, we know the service was restarted. Is there something we can enable for the Java Agent to produce a similar metric? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
As far as I know, there isn't a such metrics in OTel Java Agent. According to your description, could you use other metrics such as |
Beta Was this translation helpful? Give feedback.
opened open-telemetry/semantic-conventions#2022