Summary
In this chapter, we discussed monitoring cloud applications with the Ballerina language by using tools that are commonly used in industry. We also discussed the importance of observability and monitoring cloud native/distributed systems. We have discussed different observability methods with reference to the three pillars of observability.
The first method we discussed was logging. This was the easiest way of collecting valuable information from the system. We discussed using Filebeat to collect logs from an instance or a container. Then, we discussed using Logstash to collect those logs and publish them on Elasticsearch. We also discussed analyzing and visualizing logs with Kibana.
In distributed systems, it is difficult to track the requests flowing through different services. Therefore, we learned how to use distributed tracing to collect and analyze how requests flow among services. We used Jaeger to collect data, which was built on the OpenTracing/OpenTelemetry...