Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.4 KB

File metadata and controls

55 lines (39 loc) · 1.4 KB

Demo

Description

This is a demonstrative example that uses Docker Compose.

It consists of following services:

  1. client - console application that makes a HTTP GET request instrumented with OpenTelemetry .NET Automatic Instrumentation.
  2. service - simple HTTP server using SQL Server. The application additionally has manual instrumentation (traces, metrics, logs) on top of the automatic instrumentation.
  3. sqlserver - Microsoft SQL Server used by service
  4. otel-collector - OpenTelemetry Collector which collects the telemetry send by client and service
  5. jaeger - Jaeger as traces backend
  6. prometheus - Prometheus as metrics backend
  7. loki - Grafana Loki as logs backend
  8. grafana - 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