You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop ENV vars from flags as this is non-standard in the Prometheus
ecosystem.
* Remove es.apiKey flag to avoid credential leaks.
Signed-off-by: SuperQ <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,14 +57,14 @@ elasticsearch_exporter --help
57
57
| es.client-cert | 1.0.2 | Path to PEM file that contains the corresponding cert for the private key to connect to Elasticsearch. | |
58
58
| es.clusterinfo.interval | 1.1.0rc1 | Cluster info update interval for the cluster label | 5m |
59
59
| es.ssl-skip-verify | 1.0.4rc1 | Skip SSL verification when connecting to Elasticsearch. | false |
60
-
| es.apiKey | unreleased | API Key to use for authenticating against Elasticsearch. | |
61
60
| web.listen-address | 1.0.2 | Address to listen on for web interface and telemetry. | :9114 |
62
61
| web.telemetry-path | 1.0.2 | Path under which to expose metrics. | /metrics |
63
62
| version | 1.0.2 | Show version info on stdout and exit. | |
64
63
65
64
Commandline parameters start with a single `-` for versions less than `1.1.0rc1`.
66
-
For versions greater than `1.1.0rc1`, commandline parameters are specified with `--`. Also, all commandline parameters can be provided as environment variables. The environment variable name is derived from the parameter name
67
-
by replacing `.` and `-` with `_` and upper-casing the parameter name.
65
+
For versions greater than `1.1.0rc1`, commandline parameters are specified with `--`.
66
+
67
+
The API key used to connect can be set with the `ES_API_KEY` environment variable.
0 commit comments