dotnet / dotnet/efcore

Investigate direct support for OpenTelemetry tracing

Open
#29,281 20 comments 14 reactions 0 assignees View on GitHub
area-diagnostics
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

EF Core currently doesn't support OpenTelemetry, but rather traces via DiagnosticSource.

An OpenTelemetry [contrib package](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Instrumentation.EntityFrameworkCore) exists for instrumenting EF Core to emit activities for command execution (containing a hard-coded translation table for the database name). We should look into providing a more 1st-class support for this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.