Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.59 KB

OpenTelemetry.md

File metadata and controls

46 lines (28 loc) · 1.59 KB

OpenTelemetry

This repository is based on Symfony's demo application and integrates opentelemetry-bundle.

To make things works with OpenTelemetry, this branch includes a Docker Composer file to configure and execute a functional OpenTelemetry environnement which includes:

  • Tempo, to receive and store OpenTelemetry Traces
  • Prometheus, to receive OpenTelemetry Metrics
  • Loki, to receive OpenTelemetry Logs
  • Grafana, to visualize everything with all data sources configured

Any issues regarding OpenTelemetry integration should be reported on the opentelemetry-bundle repository issues.

Requirements

  • Nix
  • Docker

Usage

Follow ReadMe to configure the application first.

Once the application is configured, you need to build a custom OpenTelemetry Collector using Nix:

nix build .#otel-collector-image.copyToDockerDaemon
./result/bin/copy-to-docker-daemon

You should see our otel-collector:latest image when list images with Docker.

You can now launch our services with Docker:

docker-compose up -d

All services should be up and running. If not inspect logs of exited services.

Now you can browse any application pages and open Grafana (http://localhost:3000).

The default data sources is Tempo, so you should see traces by search any traces.

Here is a little video to show how it should look like:

Screencast.from.22-12-2024.11.27.56.mp4