File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ Package vendoring is handled with [`govendor`](https://github.com/kardianos/gove
65
65
Set the log output target and format. e.g. ` logger:syslog?appname=bob&local=7 ` or ` logger:stdout?json=true `
66
66
Defaults to ` logger:stderr ` .
67
67
68
+ * ` constantLabels `
69
+ Labels to set in all metrics. A list of ` label=value ` pairs, separated by commas.
70
+
68
71
### Environment Variables
69
72
70
73
The following environment variables configure the exporter:
@@ -101,6 +104,9 @@ The following environment variables configure the exporter:
101
104
* ` PG_EXPORTER_EXTEND_QUERY_PATH `
102
105
Path to a YAML file containing custom queries to run. Check out [ ` queries.yaml ` ] ( queries.yaml )
103
106
for examples of the format.
107
+
108
+ * ` PG_EXPORTER_CONTANT_LABELS `
109
+ Labels to set in all metrics. A list of ` label=value ` pairs, separated by commas.
104
110
105
111
Settings set by environment variables starting with ` PG_ ` will be overwritten by the corresponding CLI flag if given.
106
112
You can’t perform that action at this time.
0 commit comments