Freakazoid182 / jaeger-tracing

Jaeger Tracing with OpenTelemetry and AspNetCore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jaeger Tracing with OpenTelemetry and ASP.NET Core

This is an example on how OpenTelemetry can be set up using Jaeger on ASP.NET Core

Running the solution

docker-compose up -d --build

Jaeger: http://localhost:16686

RabbitMq: http://localhost:15672 (guest/guest)

Telemetry Web Swagger (through Envoy proxy): http://localhost:10000/swagger/index.html

Monitoring service logs:

docker logs -f telemetry_web
docker logs -f telemetry_worker
docker logs -f envoy_proxy

Control the sampling rate

Jaeger client libraries ensure traces are always complete (includes all services end-to-end). Sampling decisions are propegated through service executions

Docs

On envoy/front-envoy-jaeger.yaml configure the sampler

See the Jaeger docs

100%:

sampler:
    type: const
    param: 1

10%:

sampler:
    type: probabilistic
    param: 0.1

2 requests per second:

sampler:
    type: ratelimiting
    param: 2.0

Full end to end

Full end to end SQL

Full end to end Redis

About

Jaeger Tracing with OpenTelemetry and AspNetCore


Languages

Language:C# 85.5%Language:Dockerfile 11.3%Language:Shell 2.1%Language:TSQL 1.1%