opentelemetry-dotnet-contrib icon indicating copy to clipboard operation
opentelemetry-dotnet-contrib copied to clipboard

Calling AddEntityFrameworkCoreInstrumentation

Open trejjam opened this issue 4 years ago • 4 comments

Hi, I am trying to call tracerProviderBuilder.AddEntityFrameworkCoreInstrumentation() but it results in compile error error CS7069: Reference to type 'TracerProviderBuilder' claims it is defined in 'OpenTelemetry', but it could not be found.

My dependencies are OpenTelemetry.Contrib.Instrumentation.EntityFrameworkCore:0.6.0-beta.10, OpenTelemetry.Instrumentation.StackExchangeRedis:1.0.0-rc4. The project runtime is netcoreapp3.1, I am using net5 CLI.

trejjam avatar Feb 04 '21 14:02 trejjam

I'm also hitting this issue. When would be a new version of OpenTelemetry.Contrib.Instrumentation.EntityFrameworkCore NuGet package generated? The current version 0.6.0-beta was generated 7 months ago.

zxli avatar May 07 '21 04:05 zxli

Please release new version of EntityFrameworkCore package.

ElectricVampire avatar May 07 '21 08:05 ElectricVampire

+1 I can see the problem was addressed so please release a new version.

hristomanolov avatar May 07 '21 14:05 hristomanolov

pls halp(( Would be really nice of you to release the update

Lestrangge avatar Jun 01 '21 13:06 Lestrangge

1.0.0-beta.7 was released some time ago. It is compatible with OpenTelemetry 1.5.0. Closing.

Ref: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/CHANGELOG.md#100-beta7

Kielek avatar Jun 30 '23 08:06 Kielek