Skip to content

Commit ff05f49

Browse files
authored
[OTel.NET.Auto] Avoid reference to prerelease (#4243)
1 parent bd0a67f commit ff05f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/languages/net/automatic/nuget-packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To automatically instrument your application with OpenTelemetry .NET add the
3737
`OpenTelemetry.AutoInstrumentation` package to your project:
3838

3939
```terminal
40-
dotnet add [<PROJECT>] package OpenTelemetry.AutoInstrumentation --prerelease
40+
dotnet add [<PROJECT>] package OpenTelemetry.AutoInstrumentation
4141
```
4242

4343
If the application references packages that can be instrumented, but, require
@@ -46,7 +46,7 @@ you to either add the missing instrumentation package or to skip the
4646
instrumentation of the corresponding package:
4747

4848
```terminal
49-
~packages/opentelemetry.autoinstrumentation.buildtasks/1.0.0-rc.1/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.3.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error.
49+
~packages/opentelemetry.autoinstrumentation.buildtasks/1.4.0/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.3.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error.
5050
```
5151

5252
To resolve the error either add the recommended instrumentation package or skip

0 commit comments

Comments
 (0)