RobertIndie commented on pull request #9244: URL: https://github.com/apache/pulsar/pull/9244#issuecomment-766676885
> BTW, could you please show me how the `AuthenticationMetrics.java` interact with the prometheus metrcis generator? Seems I can find it. Whenever a successful authentication is triggered, the log is stored in the `CollectorRegistry.defaultRegistry`. Prometheus metrics generator obtains the log data through this method: https://github.com/apache/pulsar/blob/2071a853d9cafe77632ecc6475dd089a0181e751/pulsar-broker/src/main/java/org/apache/pulsar/broker/stats/prometheus/PrometheusMetricsGenerator.java#L206 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
