-
why remove this func in the latest version? 😳 |
Beta Was this translation helpful? Give feedback.
Answered by
dmathieu
Nov 14, 2024
Replies: 1 comment 2 replies
-
See the prometheus example: You should be using |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Lucareful
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the prometheus example:
https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/examples/prometheus/main.go#L88
You should be using
promhttp
as the handler to make metrics available. The prometheus exporter will pass data to it.