You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-07-31 20:44:25 +03:00
Add queries file support
This commit is contained in:
@ -30,6 +30,10 @@ var (
|
|||||||
"web.telemetry-path", "/metrics",
|
"web.telemetry-path", "/metrics",
|
||||||
"Path under which to expose metrics.",
|
"Path under which to expose metrics.",
|
||||||
)
|
)
|
||||||
|
queriesPath = flag.String(
|
||||||
|
"extend.query-path", "",
|
||||||
|
"Path to custom queries to run.",
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
// Metric name parts.
|
// Metric name parts.
|
||||||
|
Reference in New Issue
Block a user