samples-python
samples-python copied to clipboard
[Bug] the open telemetry example doesn't export metrics
What are you really trying to do?
I want to export metrics to datadog.
Describe the bug
I don't see any metrics in any terminals.
Minimal Reproduction
follow the steps in the readme https://github.com/temporalio/samples-python/tree/main/open_telemetry
Environment/Versions
- OS and processor: M2 Mac
- Temporal Version: 1.22.0 and/or SDK version: 1.6.0
- Are you using Docker or Kubernetes or building Temporal from source? docker
Additional context
It looks like the Jaeger all-in-one container no longer dumps OTel metrics as it once did. We will find another solution to show the metrics here (probably something like https://opentelemetry.io/docs/demo/docker-deployment/). Thanks for the report!
Thanks @kinfaikan. The sample now uses an OTEL collector and UI that accept and display the metrics, in addition to the tracing data.