merlimat opened a new pull request, #3968:
URL: https://github.com/apache/bookkeeper/pull/3968

   ### Motivation
   
   Added support for collecting and exporting BK metrics through OpenTelemetry 
SDK. 
   
   The instruments are using counters and histogram. Summaries with 
pre-computed quantiles are not used anymore. Histograms have a much lower 
overhead in the bookie process.
   
   The SDK is set to use the autoconfigure. The exporter can be configured 
through env variables as described in 
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md
 
   
   eg: simplest case to export in Prometheus format: 
   
   ```
   OTEL_METRICS_EXPORTER=prometheus
   ```
   
   This will make the metrics available on `http://0.0.0.0:9464/metrics`


-- 
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]

Reply via email to