prometheus / common

Go libraries shared across Prometheus components and libraries.
Apache License 2.0
259 stars 306 forks source link

Support for configuring ciphersuites in tls_config #626

Closed garyclee closed 1 month ago

garyclee commented 2 months ago

Hi @roidelapluie

I have a need to configure cipher suites on the scrape interface. Would you be open to a contribution to add 'cipher_suites' to 'tls_config' (https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config)? I note that TLS 1.3 ciphersuites are not configurable in Go.

Such a configuration exists on the server side (https://prometheus.io/docs/prometheus/latest/configuration/https/).

Thanks!