The Hello application we will use in this section is very similar to the one we used with the service mesh in Chapter 7, Tracing with Service Mesh. It consists of only two services: hello
and formatter
. The following diagram describes the overall architecture of this exercise:
All components of the Hello application are configured with a jaeger client, a prom client, and the logback logging framework with a LogstashTcpSocketAppender
plugin that sends the logs directly to Logstash, which saves them to Elasticsearch. Kibana is the web UI used to query logs from storage. The Prometheus client accumulates the metrics in memory, until the Prometheus server pulls them via an HTTP endpoint. Since the Prometheus server runs inside the networking namespace created by docker-compose
, it is not configured to scrape metrics from the two clients that run on the host network.
As before, we...