File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,6 @@ Supported relative timestamps ([`time.Duration`](https://pkg.go.dev/time) and [`
6161
6262## Metrics
6363
64- | Metric | Description |
65- | -----------------------------------| --------------------------------------------------------------------|
66- | ` kube_janitor_resource_ttl ` | Expiry date (unix timestamp) for every resource which was detected |
64+ | Metric | Description |
65+ | -------------------------------------------------- | --------------------------------------------------------------------|
66+ | ` kube_janitor_resource_expiry_timestamp_seconds ` | Expiry date (unix timestamp) for every resource which was detected |
Original file line number Diff line number Diff line change 1313func (j * Janitor ) setupMetrics () {
1414 j .prometheus .ttl = prometheus .NewGaugeVec (
1515 prometheus.GaugeOpts {
16- Name : "kube_janitor_resource_ttl " ,
17- Help : "TTL date for a resource " ,
16+ Name : "kube_janitor_resource_expiry_timestamp_seconds " ,
17+ Help : "Expiry unix timestamp for Kubernetes resources " ,
1818 },
1919 []string {
2020 "version" ,
You can’t perform that action at this time.
0 commit comments