File tree 5 files changed +28
-9
lines changed
examples/net6.0/aspnetcore
Grafana.OpenTelemetry.Base
5 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
22
## 0.6.0-beta.3
4
23
5
24
### Bug fixes
Original file line number Diff line number Diff line change 12
12
<ItemGroup >
13
13
<PackageReference Include =" Microsoft.Data.SqlClient" Version =" 5.1.1" />
14
14
<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" />
16
16
<PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.5.0" />
17
17
</ItemGroup >
18
18
Original file line number Diff line number Diff line change 27
27
<PrivateAssets >all</PrivateAssets >
28
28
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
29
29
</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" />
32
32
</ItemGroup >
33
33
34
34
<!-- Stable instrumentation packages -->
40
40
<!-- Non-stable instrumentation packages with no dependencies -->
41
41
<ItemGroup >
42
42
<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 " />
44
44
<PackageReference Include =" OpenTelemetry.Instrumentation.Process" Version =" 0.5.0-beta.3" />
45
45
<PackageReference Include =" OpenTelemetry.Instrumentation.SqlClient" Version =" 1.6.0-beta.3" />
46
46
</ItemGroup >
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ public static TracerProviderBuilder UseGrafana(this TracerProviderBuilder builde
31
31
32
32
GrafanaOpenTelemetryEventSource . Log . InitializeDistribution ( settings ) ;
33
33
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 )
36
36
{
37
- Environment . SetEnvironmentVariable ( "OTEL_SEMCONV_STABILITY_OPT_IN " , "http " ) ;
37
+ Environment . SetEnvironmentVariable ( "OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION " , "true " ) ;
38
38
}
39
39
40
40
return builder
Original file line number Diff line number Diff line change 43
43
44
44
<!-- Stable instrumentation packages with dependencies, only .NET -->
45
45
<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 -->
47
47
</ItemGroup >
48
48
49
49
<!-- Non-stable instrumentation packages with dependencies, both .NET framework and .NET -->
62
62
63
63
<!-- Non-stable instrumentation packages with dependencies, only .NET -->
64
64
<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 " />
66
66
</ItemGroup >
67
67
68
68
<!-- Non-stable instrumentation packages with dependencies, only .NET framework -->
You can’t perform that action at this time.
0 commit comments