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