File tree Expand file tree Collapse file tree 5 files changed +28
-9
lines changed
examples/net6.0/aspnetcore
Grafana.OpenTelemetry.Base Expand file tree Collapse file tree 5 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.7.0-beta.1
4+
5+ ### BREAKING CHANGES
6+
7+ * Use 1.7.0 of ASP.NET Core instrumentation.
8+ * Removes support for ` OTEL_SEMCONV_STABILITY_OPT_IN ` .
9+ [ Instrumentation will only emit stable conventions] ( https://github.com/open-telemetry/semantic-conventions/tree/v1.23.0/docs/http ) .
10+ * Defaults ` OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION `
11+ to ` true ` . [ gRPC instrumentation is experimental] ( https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/Instrumentation.AspNetCore-1.6.0 ) ,
12+ while HTTP is stable.
13+ * Use 1.7.0 of HTTP instrumentation.
14+ * [ ` http.user_agent ` Activity tag removed from HTTP instrumentation] ( https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/1.6.0-rc.1 ) .
15+ * Removes support for ` OTEL_SEMCONV_STABILITY_OPT_IN ` .
16+ [ Instrumentation will only emit stable conventions] ( https://github.com/open-telemetry/semantic-conventions/tree/v1.23.0/docs/http ) .
17+
18+ ### New features
19+
20+ * [ Use 1.7.0 of upstream SDK] ( https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/Instrumentation.AspNetCore-1.7.0 ) .
21+
322## 0.6.0-beta.3
423
524### Bug fixes
Original file line number Diff line number Diff line change 1212 <ItemGroup >
1313 <PackageReference Include =" Microsoft.Data.SqlClient" Version =" 5.1.1" />
1414 <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.19.4" />
15- <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.6 .0" />
15+ <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.7 .0" />
1616 <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.5.0" />
1717 </ItemGroup >
1818
Original file line number Diff line number Diff line change 2727 <PrivateAssets >all</PrivateAssets >
2828 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2929 </PackageReference >
30- <PackageReference Include =" OpenTelemetry" Version =" 1.6 .0" />
31- <PackageReference Include =" OpenTelemetry.Exporter.OpenTelemetryProtocol" Version =" 1.6 .0" />
30+ <PackageReference Include =" OpenTelemetry" Version =" 1.7 .0" />
31+ <PackageReference Include =" OpenTelemetry.Exporter.OpenTelemetryProtocol" Version =" 1.7 .0" />
3232 </ItemGroup >
3333
3434 <!-- Stable instrumentation packages -->
4040 <!-- Non-stable instrumentation packages with no dependencies -->
4141 <ItemGroup >
4242 <PackageReference Include =" OpenTelemetry.Instrumentation.GrpcNetClient" Version =" 1.6.0-beta.3" />
43- <PackageReference Include =" OpenTelemetry.Instrumentation.Http" Version =" 1.6.0-beta.3 " />
43+ <PackageReference Include =" OpenTelemetry.Instrumentation.Http" Version =" 1.7.0 " />
4444 <PackageReference Include =" OpenTelemetry.Instrumentation.Process" Version =" 0.5.0-beta.3" />
4545 <PackageReference Include =" OpenTelemetry.Instrumentation.SqlClient" Version =" 1.6.0-beta.3" />
4646 </ItemGroup >
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ public static TracerProviderBuilder UseGrafana(this TracerProviderBuilder builde
3131
3232 GrafanaOpenTelemetryEventSource . Log . InitializeDistribution ( settings ) ;
3333
34- // Default to using stable HTTP semantic conventions
35- if ( Environment . GetEnvironmentVariable ( "OTEL_SEMCONV_STABILITY_OPT_IN " ) == null )
34+ // Default to using experimental gRPC instrumentation
35+ if ( Environment . GetEnvironmentVariable ( "OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION " ) == null )
3636 {
37- Environment . SetEnvironmentVariable ( "OTEL_SEMCONV_STABILITY_OPT_IN " , "http " ) ;
37+ Environment . SetEnvironmentVariable ( "OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION " , "true " ) ;
3838 }
3939
4040 return builder
Original file line number Diff line number Diff line change 4343
4444 <!-- Stable instrumentation packages with dependencies, only .NET -->
4545 <ItemGroup Condition =" '$(TargetFramework)' != 'net462' " >
46- <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.6 .0" /> <!-- needed for AspNetCore -->
46+ <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.7 .0" /> <!-- needed for AspNetCore -->
4747 </ItemGroup >
4848
4949 <!-- Non-stable instrumentation packages with dependencies, both .NET framework and .NET -->
6262
6363 <!-- Non-stable instrumentation packages with dependencies, only .NET -->
6464 <ItemGroup Condition =" '$(TargetFramework)' != 'net462' " >
65- <PackageReference Include =" OpenTelemetry.Instrumentation.AspNetCore" Version =" 1.6.0-beta.3 " />
65+ <PackageReference Include =" OpenTelemetry.Instrumentation.AspNetCore" Version =" 1.7.0 " />
6666 </ItemGroup >
6767
6868 <!-- Non-stable instrumentation packages with dependencies, only .NET framework -->
You can’t perform that action at this time.
0 commit comments