Closed arpitshah29 closed 1 year ago
@arpitshah29 Thank you for provided details and artifacts. This module currently only support exporting traces, not metrics/logs (Related #38 ). That's the reason you don't see any in Prometheus. Using SDK extensions, you can turn on metrics but at the moment module isn't gathering any metrics data.
I see, thanks for quick response @manikmagar - may I suggest updating Documentation to set correct expectation?
I really appreciate efforts to open source this module. Thanks!
may I suggest updating Documentation to set correct expectation?
Yes. That would be the right thing to do. We will update it in the documentation. Thank you for catching it.
Hello Team - I was going through the Extension documentation around generic exporter, I see support for Promethues Metric Exporter - https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure#prometheus-exporter - I looked at the extension code and ran a PoC with latest extension version (v1.1.0) while exporter is getting initialized I am not seeing anything exposed to Prometheus server to scrap? Just wondering if I am missing anything. 🤔
Attaching PoC/Steps
Promethues/Grafana Setup -
Prom.zip
Unzip Prom.zip - from Root Fire : docker-compose up Grafana at http://localhost:3000/ (username/password is admin/admin) Prometheus at http://localhost:9090/ AlertManager at http://localhost:9093/
MuleSoft PoC App - test123456.zip