Chapter 9: Tracing Dapr Applications
In this chapter, you will learn about observability options in Dapr by exploring how traces, logs, and metrics are emitted and can be collected in Dapr using Zipkin, Prometheus, and Grafana. These are the main topics of the chapter:
- Observing applications in Dapr
- Tracing with Zipkin
- Analyzing metrics with Prometheus and Grafana
With Dapr in self-hosted mode, which we used during the development of our Dapr applications, we had an option to directly access the logs from the Dapr sidecar processes and applications as console output, in addition to the ability to debug our service code with Visual Studio Code (VS Code).
In the Kubernetes mode of Dapr, however, the approach is going to be different because ...
Get Practical Microservices with Dapr and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.