Closed calvinlfer closed 1 year ago
is there any guid around how to use otlp and Zio metrics?
Hi @omidb! We support OpenTelemetry through micrometer at the moment. You can read more about how to use micrometer with zio-metrics on the zio-metrics documentation site. The example in the documentation uses the prometheus-registry for micrometer, but you could plug in the opentelemetry registry according to docs here: https://micrometer.io/docs/registry/otlp
Context
I've seen quite a lot of clients pair up OpenTelemetry collectors in their Kubernetes clusters as a way to aggregate and send both traces and metrics to end providers like New Relic, Datadog, etc.
Ask
It would be great to have an opentelemetry metrics integration built directly into the project. OpenTelemetry provides a Metrics API that we can integrate with using:
Additional References:
Note: It seems like an implementation of #20 may be able to support this as Micrometer has support for OpenTelemetry