opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Add metrics example of Prometheus to Grafana

Open ocelotl opened this issue 3 years ago • 2 comments

ocelotl avatar Jul 05 '22 13:07 ocelotl

Should this be in the metrics stable project?

srikanthccv avatar Jul 28 '22 11:07 srikanthccv

Should this be in the metrics stable project?

Just for the record, we decided it was not necessary for this to be in the metrics stable project.

ocelotl avatar Aug 15 '22 15:08 ocelotl

@srikanthccv I would like to work on this issue, should I go ahead

nanfuka avatar Oct 24 '22 07:10 nanfuka

I have assigned this to you. Let me know if you have any questions.

srikanthccv avatar Oct 24 '22 07:10 srikanthccv

@srikanthccv, kindly guide me on how Prometheus is set up on this application, and how you run it

nanfuka avatar Oct 24 '22 12:10 nanfuka

You can follow this getting started guide to run Prometheus on your machine https://prometheus.io/docs/prometheus/latest/getting_started/. And here we have the exporter that can be scraped by Prometheus https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-prometheus. You need to add a complete example of how to emit some metrics and make see they show up in UI.

srikanthccv avatar Oct 24 '22 15:10 srikanthccv