andrejpk / yarpSimple

Experiment with Yarp's OTel behavior

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarp simple distributed tracing sandbox

This is a simple use of YARP to experiment with instrumentation.

Running

Start both services at the same time. By default, yarpProxy runs on port 5000, and forwards requests to the backendService on port 5001. Both are configured to send telemetry via OTLP to localhost.

Run Jaeger All-In-One locally to collect OTLP traces from both services.

Send a request to the yarnProxy service:

$ curl http://localhost:5000/ 
Hello World!%

Open the local Jaeger UI at http://localhost:16686 and look for traces from the yarnProxy and backendService.

distributed trace

About

Experiment with Yarp's OTel behavior


Languages

Language:C# 78.3%Language:Dockerfile 21.7%