This is a demonstrative example that uses Docker Compose.
It consists of following services:
client- console application that makes a HTTP GET request instrumented with OpenTelemetry .NET Automatic Instrumentation.service- simple HTTP server using SQL Server. The application additionally has manual instrumentation (traces, metrics, logs) on top of the automatic instrumentation.sqlserver- Microsoft SQL Server used byserviceotel-collector- OpenTelemetry Collector which collects the telemetry send byclientandservicejaeger- Jaeger as traces backendprometheus- Prometheus as metrics backendloki- Grafana Loki as logs backendgrafana- Grafana as telemetry UI
Windows (Git Bash):
docker compose up -d --buildmacOS and Linux:
makeYou can explore the telemetry in Grafana UI.
You can also find the exported telemetry in the log directory.
Windows (Git Bash):
docker compose down --remove-orphans
rm -rf logmacOS and Linux:
make clean