OpenTelemetry dotnet webapi

OpenTelemetry .Net (dotnet) ASP.NET using RED and USE method

OpenTelemetry dotnet webapi screenshot 1
OpenTelemetry dotnet webapi screenshot 2
OpenTelemetry dotnet webapi screenshot 3
OpenTelemetry dotnet webapi screenshot 4
OpenTelemetry dotnet webapi screenshot 5
OpenTelemetry dotnet webapi screenshot 6
OpenTelemetry dotnet webapi screenshot 7
OpenTelemetry dotnet webapi screenshot 8
OpenTelemetry dotnet webapi screenshot 9

OpenTelemetry dotnet webapi

OpenTelemetry dotnet webapi dashboard using RED method

Blog post with live demo

A complete live demo and blog post with docker compose is available at github.

Stats

Stats

RED

RED

Metrics to traces

Metrics to traces

HTTP Server

HTTP Server HTTP Server 2

Process

Process

Runtime

Runtime

HTTP Client

HTTP Client

Logs

Logs

Setup dotnet dependencies

bash
dotnet add package OpenTelemetry.Exporter.OpenTelemetryProtocol
dotnet add package OpenTelemetry.Instrumentation.AspNetCore
dotnet add package OpenTelemetry.Instrumentation.Http
dotnet add package OpenTelemetry.Instrumentation.Runtime
dotnet add package System.Diagnostics.DiagnosticSource
dotnet add package OpenTelemetry.Instrumentation.Process
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies