Viewing the Monitoring Data

Learn to set up a monitoring environment with integrating services for efficient trace, span, and metrics collection and visualization.

The application will now be producing a lot of data; to view this data, we need to collect it or, in the case of Prometheus, retrieve it.

Updating Docker Compose with monitoring services

The Docker Compose environment was updated with four new services, as follows:

  • The OpenTelemetry collector to collect trace and span data

  • Jaeger to render the traces

  • Prometheus to collect and display metrics data

  • Grafana to render dashboards based on the metrics data

The OpenTelemetry collector will also provide Prometheus metrics about the traces and spans it collects:

Get hands-on with 1200+ tech skills courses.