-
Book Overview & Buying
-
Table Of Contents
Software Architecture with C++ - Second Edition
By :
In this chapter, we explored observability in microservices, focusing on the three pillars of telemetry—logs, traces, and metrics. We began with logging, discussing logging in the context of microservices. Next, we examined monitoring, where metrics and health checks are continuously collected to track system performance. When combined with alerting mechanisms, these enable automated detection of anomalies and incidents. We also looked at a hands-on example of implementing Prometheus application metrics in C++ using the Drogon framework, demonstrating how these concepts come together in practice. Finally, we turned to tracing, which provides a higher-level view of how requests flow across microservices. Together, log aggregation, distributed tracing, application metrics, and health-check APIs form the core observability patterns in modern cloud-native systems.
The next chapter is dedicated to cloud-native design—a very interesting but also complex topic that...