mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-22 15:05:27 +00:00
8 lines
220 B
YAML
8 lines
220 B
YAML
pg_postmaster_uptime:
|
|
query: "select extract(epoch from current_timestamp - pg_postmaster_start_time()) as seconds"
|
|
master: true
|
|
metrics:
|
|
- seconds:
|
|
usage: "GAUGE"
|
|
description: "Service uptime"
|