envoyproxy/envoy

Export process_start_time_seconds Prometheus metric

Open

#23,003 opened on Sep 6, 2022

View on GitHub
 (7 comments) (0 reactions) (2 assignees)C++ (5,373 forks)batch import
area/statsenhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Title: Export process_start_time_seconds Prometheus metric

Description:

When querying the /stats/prometheus endpoint on the admin page, it would be immensely helpful to add process_start_time_seconds. This metric is typically a gauge reporting the seconds since January 1 1970 when the process started, and is commonly used by prometheus consumers to track cumulative metrics (notably by prometheus-to-sd).

(I'd be glad to take a crack at adding this :))

[optional Relevant Links:]

Contributor guide