Downstream projects rely on CLI parameters to generate docstrings, so we add --server.tls-cipher-suites and --server.tls-min-version. Both CLI and yaml require comma-separated lists of cipher suites, which is different to the yaml array format supported by prometheus/exporter-toolkit.
Add a single parameter for each, not split across HTTP and gRPC.
Requires change upstream - https://github.com/prometheus/exporter-toolkit/pull/110. This PR is temporarily using a
replace
directive to use that code.Downstream projects rely on CLI parameters to generate docstrings, so we add
--server.tls-cipher-suites
and--server.tls-min-version
. Both CLI and yaml require comma-separated lists of cipher suites, which is different to the yaml array format supported byprometheus/exporter-toolkit
.The names accepted are from Go, listed here: https://pkg.go.dev/crypto/tls#pkg-constants
Fixes #248 (partial, but I haven't seen a justification to do the curves, max version, etc).