envoyproxy / envoyproxy/envoy

Export process_start_time_seconds Prometheus metric

Open
#23,003 7 comments 0 reactions 2 assignees Claimed by @MadhuMPandurangi View on GitHub
area/stats enhancement help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

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](https://github.com/GoogleCloudPlatform/k8s-stackdriver/blob/3d2207ed85eef0c72228ba3814852fae86babe3f/prometheus-to-sd/translator/translator.go#L190-L204)).

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

[optional *Relevant Links*:]
- [Prometheus-to-sd](https://github.com/GoogleCloudPlatform/k8s-stackdriver)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.