1.4 KiB
1.4 KiB
Demo
Description
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
Usage
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.
Cleanup
Windows (Git Bash):
docker compose down --remove-orphans
rm -rf log
macOS and Linux:
make clean