Skip to content

Commit 3362288

Browse files
authored
Merge branch 'master' into master
2 parents 73dc36f + 301976c commit 3362288

File tree

6 files changed

+463
-81
lines changed

6 files changed

+463
-81
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ The following environment variables configure the exporter:
140140
* `PG_EXPORTER_EXCLUDE_DATABASES`
141141
A comma-separated list of databases to remove when autoDiscoverDatabases is enabled. Default is empty string.
142142

143+
* `PG_EXPORTER_METRIC_PREFIX`
144+
A prefix to use for each of the default metrics exported by postgres-exporter. Default is `pg`
145+
143146
Settings set by environment variables starting with `PG_` will be overwritten by the corresponding CLI flag if given.
144147

145148
### Setting the Postgres server's data source name

0 commit comments

Comments
 (0)