Monitor and observe your Dapr applications with distributed tracing, metrics, and logs using OpenTelemetry integration.
Dapr (Distributed Application Runtime) is a portable, event-driven runtime that makes it easy for developers to build resilient microservice applications. With Dash0, you can gain comprehensive observability into your Dapr applications through distributed tracing, metrics, and logs.
Dapr captures metrics, traces, and logs that can be sent directly to Dash0 through the OpenTelemetry Collector. This guide shows you how to configure Dapr tracing with the OpenTelemetry Collector and Dash0.
By using the OpenTelemetry Collector with the OTLP exporter to send data to Dash0, you can configure Dapr to create traces for each application in your Kubernetes cluster and collect them in Dash0 for analysis and monitoring.
This example shows a simple OpenTelemetry Collector configuration that will receive telemetry from Dapr and forward it to Dash0.
For production environments, consider using one of these more robust deployment methods:
Helm Chart for The OpenTelemetry Collector
The key requirement is that your collector accepts OTLP/gRPC on port 4317.
values.yaml
for the CollectorThis configuration:
Create dapr-config.yaml
:
Note: If you used a different collector deployment method, update the endpointAddress
to match your collector's service name and namespace.
Apply it:
In each Deployment/Pod you want traced by Dapr, add:
Once your setup is complete and telemetry data is flowing, you can view traces in Dash0: