-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependencies on OpenTelemetry.Instrumentation.EntityFrameworkCore #2814
Comments
Hi @eerhardt In the case of Oracle, the ADO part of this change can only be implemented when they release the new version of the ADO library for Oracle (OPD.NET) that supports OTEL and metrics. It is currently under development and its nuget package is a prerelease version. If you remember, this was the reason we closed #1004 for now. |
@andrevlins do you have some recommendation to follow the progress on the driver? Should I just check on NuGet.org once in a while? I maybe subscribe to the samples repository assuming they would update them? @Pilchie I have submitted the PR to remove the OpenTelemetry.Instrumentation.EntityFrameworkCore usage with Cosmos, so it only has |
Tagging @kundadebdatta who is going to start looking at Cosmos DB/Aspire stuff soon. |
@sebastienros thas what I'm doing:
|
We use the OpenTelemetry.Instrumentation.EntityFrameworkCore nuget package in the following components:
As our plan is to stabilize .NET Aspire for
v8.0.0
we need to remove unstable dependencies. TheOpenTelemetry.Instrumentation.EntityFrameworkCore
package doesn't have a stable version, and there is no plan to make it stable by the time we shipv8.0.0
. We need to remove this dependency from these 3 components.@roji said in an offline conversation:
We should take this plan to remove this unstable dependency in the above components.
For
Aspire.Microsoft.EntityFrameworkCore.SqlServer
, it appears pretty straight-forward. We remove this dependency and instead replace it withOpenTelemetry.Instrumentation.SqlClient
.For the other 2 components, we need to work with the underlying ADO.NET layer to have the same instrumentation as Npgsql and SqlClient. (cc @Pilchie @kirankumarkolli for the Cosmos component. @andrevlins for the Oracle component)
cc @AndriySvyryd
The text was updated successfully, but these errors were encountered: