ZOOKEEPER-5024: Allow to set TLS version and ciphers for PrometheusMetricsProvider#2360
ZOOKEEPER-5024: Allow to set TLS version and ciphers for PrometheusMetricsProvider#2360PDavid wants to merge 8 commits intoapache:masterfrom
Conversation
…tricsProvider Since PrometheusMetricsProvider only receives those configs which are prefixed with `metricsProvider`, introduced two new properties: - metricsProvider.ssl.enabledProtocols - metricsProvider.ssl.ciphersuites
…etricsProvider.ssl.enabledProtocols properties
TestingTested this locally as follows: Created keystore: Created truststore: Added these to Started ZooKeeper: ZooKeeper log: Call PrometheusMetricsProvider: |
...metrics/src/main/java/org/apache/zookeeper/metrics/prometheus/PrometheusMetricsProvider.java
Outdated
Show resolved
Hide resolved
The logging of setting the enabled protocols and ciphers in PrometheusMetricsProvider is now changed to DEBUG.
|
There was a test failure in the C client module: I think it is unrelated. |
anmolnar
left a comment
There was a problem hiding this comment.
Patch lgtm. The C client unit test failure is probably unrelated. Have you checked it?
OK, I now looked into this a bit more. This C client unit test failed in the PR build: I now run the C unit tests locally on this branch:
|
…figs to document since when the config is used by ZK.
…sProvider.ssl.enabledProtocols properties to guide
Since
PrometheusMetricsProvideronly receives those configs which are prefixed withmetricsProvider, introduced two new properties:metricsProvider.ssl.enabledProtocolsmetricsProvider.ssl.ciphersuitesAlso documented
metricsProviderproperties which were missing inzookeeperAdmin.md