chapter nine
9 Observability
This chapter covers
- Understanding the concepts of Observability like Traces, Metrics, and Logs
- Adding OpenTelemetry instrumentation libraries to ship metrics to a metrics collector
- Setting up a performance monitoring dashboard for the Microservices to see the metrics by using Jaeger and Prometheus
- Installing an observability stack including Jaeger, Prometheus, Fluent Bit, Elasticsearch, Kibana
Due to the nature of Microservice Architecture, you may end up with many services for different reasons to meet product needs. Having good visibility of this system becomes very important to spot a problem proactively and take action to fix it in a short period of time. Services talk to other services, databases, queues, and 3rd party services, producing insights about their internal operations. In this chapter, we learn how to collect those insights and generate meaningful reports to understand the current situation of a cloud-native Microservices environment.