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 byservice
otel-collector
- OpenTelemetry Collector which collects the telemetry send byclient
andservice
jaeger
- Jaeger as traces backendprometheus
- Prometheus as metrics backendloki
- Grafana Loki as logs backendgrafana
- Grafana as telemetry UI
Windows (Git Bash):
docker compose up -d --build
macOS and Linux:
make
You 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 log
macOS and Linux:
make clean