rdhabalia commented on a change in pull request #12355:
URL: https://github.com/apache/pulsar/pull/12355#discussion_r746919241
##########
File path:
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/metrics/AuthenticationMetrics.java
##########
@@ -32,6 +32,36 @@
.labelNames("provider_name", "auth_method", "reason")
.register();
+ private static final Counter clientCertSelfSignedMetrics = Counter.build()
+ .name("pulsar_authentication_tls_cert_self_signed_count")
+ .help("Pulsar client authenticating with a TLS cert that is
self-signed")
+ .register();
+
+ private static final Counter clientCertSmallRsaKeySizeMetrics =
Counter.build()
Review comment:
can we make it generic instead specific to only rsa?
`clientCertInvalidKeySizeMetrics`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]