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
Metrics may contain sensitive information, so it should be possible to
scrape them over an encrypted connection. This requires TLS support.
For consistency with other Prometheus exporters, we use the exporter
toolkit to provide TLS support.
Fixesprometheus#413.
Copy file name to clipboardExpand all lines: README.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -112,9 +112,6 @@ NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/king
112
112
Flags:
113
113
-h, --help Show context-sensitive help (also try
114
114
--help-long and --help-man).
115
-
--web.listen-address=":9102"
116
-
The address on which to expose the web interface
117
-
and generated Prometheus metrics.
118
115
--web.enable-lifecycle Enable shutdown and reload via HTTP request.
119
116
--web.telemetry-path="/metrics"
120
117
Path under which to expose metrics.
@@ -164,13 +161,20 @@ NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/king
164
161
The UDP relay target address (host:port)
165
162
--statsd.relay.packet-length=1400
166
163
Maximum relay output packet length to avoid fragmentation
164
+
--web.listen-address=:9102 ...
165
+
Addresses on which to expose metrics and web interface. Repeatable for multiple addresses.
166
+
--web.config.file="" [EXPERIMENTAL] Path to configuration file that can enable TLS or authentication.
167
167
--log.level=info Only log messages with the given severity or
168
168
above. One of: [debug, info, warn, error]
169
169
--log.format=logfmt Output format of log messages. One of: [logfmt,
170
170
json]
171
171
--version Show application version.
172
172
```
173
173
174
+
## TLS support
175
+
176
+
TLS support is provided via the [Prometheus Exporter Toolkit](https://github.com/prometheus/exporter-toolkit). Please see [its configuration documentation]9https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md) for how to configure TLS.
177
+
174
178
## Lifecycle API
175
179
176
180
The `statsd_exporter` has an optional lifecycle API (disabled by default) that can be used to reload or quit the exporter
0 commit comments