Skip to content

Commit

Permalink
[docs] Update note on SqlClient (#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamratson authored Jan 2, 2025
1 parent 6fdd39f commit d87ce66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/OpenTelemetry.Instrumentation.SqlClient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ using var tracerProvider = Sdk.CreateTracerProviderBuilder()
```

> [!NOTE]
> When using the built-in `System.Data.SqlClient` only stored procedure
command names will ever be captured. When using the `Microsoft.Data.SqlClient`
NuGet package (v1.1+) stored procedure command names, full query text, and other
command text will be captured.
> When using the built-in `System.Data.SqlClient`, only stored procedure command
names will be captured. To capture query text, other command text and
stored procedure command names, you need to use the `Microsoft.Data.SqlClient`
NuGet package (v1.1+).

### Enrich

Expand Down

0 comments on commit d87ce66

Please sign in to comment.