Skip to content

Commit c87b385

Browse files
Update OpenTelemetry to v1.15 (#398)
Update to latest OpenTelemetry library versions.
1 parent f91df07 commit c87b385

File tree

5 files changed

+140
-33
lines changed

5 files changed

+140
-33
lines changed

CHANGELOG.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,107 @@
22

33
## Unreleased version
44

5+
## 1.5.0
6+
7+
### BREAKING CHANGES
8+
9+
* Use 1.15.0-rc.1 of OpenTelemetry.Instrumentation.SqlClient ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
10+
* Remove support for the `OTEL_SEMCONV_STABILITY_OPT_IN` configuration option.
11+
([#3592](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3592))
12+
13+
### New features
14+
15+
* Use 1.15.0 of OpenTelemetry ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
16+
* Added support for the `OTEL_SDK_DISABLED` environment variable in TracerProvider,
17+
MeterProvider, and LoggerProvider. When `OTEL_SDK_DISABLED=true`,
18+
the SDK returns no-op implementations for all telemetry signals.
19+
The `OTEL_SDK_DISABLED` environment variable is only evaluated upon application
20+
startup, later changes have no effect.
21+
([#6568](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6568))
22+
* Added support for `Meter.TelemetrySchemaUrl` property.
23+
([#6714](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6714))
24+
* Use 1.15.0 of OpenTelemetry.Api ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
25+
* Added a new overload for `TracerProvider.GetTracer` which accepts an optional
26+
`string? schemaUrl` parameter, allowing a schema URL to be set on the `Tracer`.
27+
([#6736](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6736))
28+
* Use 1.15.0 of OpenTelemetry.Exporter.OpenTelemetryProtocol ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
29+
* Added mTLS configuration support for the OTLP exporter (client cert/key and
30+
CA certificate options).
31+
([#6343](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6343))
32+
* Added `LowMemory` temporality as an option in the OTLP metrics exporter.
33+
([#6648](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6648))
34+
* Added `UserAgentProductIdentifier` property to `OtlpExporterOptions` to allow
35+
custom product identifiers to be prepended to the User-Agent header. When set,
36+
the custom identifier is prepended with a space separator to the default
37+
User-Agent string (e.g., `MyApp/1.0 OTel-OTLP-Exporter-Dotnet/1.15.0`).
38+
([#6686](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6686))
39+
* Added support for `ActivitySource.TelemetrySchemaUrl` property.
40+
([#6730](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6730))
41+
* Added support for `Meter.TelemetrySchemaUrl` property.
42+
([#6731](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6731))
43+
* Added support for `OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION`
44+
environment variable to configure the default histogram aggregation for
45+
histogram instruments. Valid values are `explicit_bucket_histogram` (default)
46+
and `base2_exponential_bucket_histogram`. Explicit views configured via
47+
`AddView` take precedence over this setting.
48+
([#6778](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6778))
49+
* Use 1.15.0 of OpenTelemetry.Extensions.Hosting ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
50+
* Use 1.15.0 of OpenTelemetry.Instrumentation.AspNet ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
51+
* Metrics and spans report telemetry schema URL v1.36.0.
52+
([#3686](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3686))
53+
* Use 1.15.0 of OpenTelemetry.Instrumentation.AspNetCore ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
54+
* Use 1.15.0 of OpenTelemetry.Instrumentation.AWS ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
55+
* Use 1.15.0 of OpenTelemetry.Instrumentation.AWSLambda ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
56+
* Use 1.0.0-beta.5 of OpenTelemetry.Instrumentation.Cassandra ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
57+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.ElasticsearchClient ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
58+
* Add `net8.0` and `net10.0` target frameworks.
59+
([#3717](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3717))
60+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.EntityFrameworkCore ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
61+
* Improve SQL parsing for sanitization and summary generation.
62+
([#3627](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3627),
63+
[#3662](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3662),
64+
[#3663](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3663),
65+
[#3671](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3671))
66+
* Make additional attributes available on Activity start.
67+
([#3675](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3675))
68+
* Metrics and spans report telemetry schema URL v1.33.0.
69+
([#3680](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3680))
70+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.GrpcNetClient ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
71+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.Hangfire ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
72+
* Use 1.15.0 of OpenTelemetry.Instrumentation.Http ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
73+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.Owin ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
74+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.Process ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
75+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.Quartz ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
76+
* Use 1.15.0 of OpenTelemetry.Instrumentation.Runtime ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
77+
* Use 1.15.0-rc.1 of OpenTelemetry.Instrumentation.SqlClient ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
78+
* Improve SQL parsing for sanitization and summary generation.
79+
([#3627](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3627),
80+
[#3662](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3662),
81+
[#3663](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3663),
82+
[#3671](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3671))
83+
* Make additional attributes available on Activity start.
84+
([#3675](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3675))
85+
* Metrics and spans report telemetry schema URL v1.33.0.
86+
([#3680](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3680))
87+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.StackExchangeRedis ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
88+
* Use 1.15.0-beta.1 of OpenTelemetry.Instrumentation.Wcf ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
89+
* Use 1.15.0-beta.1 of OpenTelemetry.Resources.Container ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
90+
* Use 1.15.0-beta.1 of OpenTelemetry.Resources.Host ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
91+
* Use 1.15.0-beta.1 of OpenTelemetry.Resources.OperatingSystem ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
92+
* Use 1.15.0-beta.1 of OpenTelemetry.Resources.Process ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
93+
* Use 1.15.0-beta.1 of OpenTelemetry.Resources.ProcessRuntime ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
94+
95+
### Bug Fixes
96+
97+
* Use 1.15.0 of OpenTelemetry ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
98+
* Improve performance and reduce memory consumption for metrics histograms.
99+
([#6715](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6715))
100+
* Decode `value` in OTEL_RESOURCE_ATTRIBUTES environment variable.
101+
([#6737](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6737))
102+
* Use 1.15.0 of OpenTelemetry.Exporter.OpenTelemetryProtocol ([#398](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/398))
103+
* Fix `NullReferenceException` when no bucket boundaries configured for a view.
104+
([#6773](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6773))
105+
5106
## 1.4.1
6107

7108
### New features

docker/docker-compose-aspnetcore/oats.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,23 @@ expected:
5656
http.request.method: GET
5757
http.response.status_code: 500
5858
- traceql: '{ span.http.route =~ "api/MsSql/ServerInfo" }'
59-
equals: 'master'
59+
equals: 'EXECUTE sp_server_info'
6060
attributes:
61-
db.system: mssql
62-
db.name: master
63-
db.statement: sp_server_info
61+
db.system.name: microsoft.sql_server
62+
db.namespace: master
63+
db.operation.name: EXECUTE
64+
db.stored_procedure.name: sp_server_info
65+
db.query.summary: EXECUTE sp_server_info
66+
server.address: mssql
6467
otel.library.name: OpenTelemetry.Instrumentation.SqlClient
6568
- traceql: '{ span.http.route =~ "api/MsSql/Tables" }'
66-
equals: 'master'
69+
equals: 'SELECT INFORMATION_SCHEMA.TABLES'
6770
attributes:
68-
db.system: mssql
69-
db.name: master
71+
db.system.name: microsoft.sql_server
72+
db.namespace: master
73+
db.query.text: SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES
74+
db.query.summary: SELECT INFORMATION_SCHEMA.TABLES
75+
server.address: mssql
7076
otel.library.name: OpenTelemetry.Instrumentation.SqlClient
7177
- traceql: '{ span.http.route =~ "api/Redis/LeftPush" }'
7278
equals: 'LPUSH'

examples/net10.0/aspnetcore/aspnetcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.4" />
1515
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.2" />
1616
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.22.1" />
17-
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.14.0" />
17+
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.15.0" />
1818
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.0" />
1919
</ItemGroup>
2020

src/Grafana.OpenTelemetry.Base/Grafana.OpenTelemetry.Base.csproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="OpenTelemetry" Version="1.14.0" />
25-
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.14.0" />
24+
<PackageReference Include="OpenTelemetry" Version="1.15.0" />
25+
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.0" />
2626
</ItemGroup>
2727

2828
<ItemGroup Label="Stable Instrumentation Packages">
29-
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.14.0" />
30-
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.14.0" />
29+
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.15.0" />
30+
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.15.0" />
3131
</ItemGroup>
3232

3333
<ItemGroup Label="Non-stable instrumentation packages">
34-
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.14.0-beta.1" />
35-
<PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="1.14.0-beta.2" />
36-
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.14.0-beta.1" />
37-
<PackageReference Include="OpenTelemetry.Resources.Container" Version="1.14.0-beta.1" />
38-
<PackageReference Include="OpenTelemetry.Resources.Host" Version="1.14.0-beta.1" />
39-
<PackageReference Include="OpenTelemetry.Resources.OperatingSystem" Version="1.14.0-beta.1" />
40-
<PackageReference Include="OpenTelemetry.Resources.Process" Version="1.14.0-beta.1" />
41-
<PackageReference Include="OpenTelemetry.Resources.ProcessRuntime" Version="1.14.0-beta.1" />
34+
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.15.0-beta.1" />
35+
<PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="1.15.0-beta.1" />
36+
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.15.0-rc.1" />
37+
<PackageReference Include="OpenTelemetry.Resources.Container" Version="1.15.0-beta.1" />
38+
<PackageReference Include="OpenTelemetry.Resources.Host" Version="1.15.0-beta.1" />
39+
<PackageReference Include="OpenTelemetry.Resources.OperatingSystem" Version="1.15.0-beta.1" />
40+
<PackageReference Include="OpenTelemetry.Resources.Process" Version="1.15.0-beta.1" />
41+
<PackageReference Include="OpenTelemetry.Resources.ProcessRuntime" Version="1.15.0-beta.1" />
4242
</ItemGroup>
4343

4444
<ItemGroup>

src/Grafana.OpenTelemetry/Grafana.OpenTelemetry.csproj

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@
2727
</ItemGroup>
2828

2929
<ItemGroup Label="Stable instrumentation packages with dependencies">
30-
<PackageReference Include="OpenTelemetry.Instrumentation.AWS" Version="1.14.2" />
31-
<PackageReference Include="OpenTelemetry.Instrumentation.AWSLambda" Version="1.14.2" />
30+
<PackageReference Include="OpenTelemetry.Instrumentation.AWS" Version="1.15.0" />
31+
<PackageReference Include="OpenTelemetry.Instrumentation.AWSLambda" Version="1.15.0" />
3232
</ItemGroup>
3333

3434
<ItemGroup Label="Non-stable instrumentation packages with dependencies, only .NET" Condition=" '$([MSBuild]::GetTargetFrameworkIdentifier(`$(TargetFramework)`))' != '.NETFramework' ">
35-
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.14.0" /> <!-- Needed for ASP.NET Core -->
36-
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.14.0" />
35+
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.15.0" /> <!-- Needed for ASP.NET Core -->
36+
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.0" />
3737
</ItemGroup>
3838

3939
<ItemGroup Label="Non-stable instrumentation packages with dependencies">
40-
<PackageReference Include="OpenTelemetry.Instrumentation.Cassandra" Version="1.0.0-beta.4" />
41-
<PackageReference Include="OpenTelemetry.Instrumentation.ElasticsearchClient" Version="1.14.0-beta.1" />
42-
<PackageReference Include="OpenTelemetry.Instrumentation.EntityFrameworkCore" Version="1.14.0-beta.2" />
43-
<PackageReference Include="OpenTelemetry.Instrumentation.Hangfire" Version="1.14.0-beta.2" />
44-
<PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.14.0-beta.2" />
45-
<PackageReference Include="OpenTelemetry.Instrumentation.StackExchangeRedis" Version="1.14.0-beta.1" />
46-
<PackageReference Include="OpenTelemetry.Instrumentation.Wcf" Version="1.14.0-beta.1" />
40+
<PackageReference Include="OpenTelemetry.Instrumentation.Cassandra" Version="1.0.0-beta.5" />
41+
<PackageReference Include="OpenTelemetry.Instrumentation.ElasticsearchClient" Version="1.15.0-beta.1" />
42+
<PackageReference Include="OpenTelemetry.Instrumentation.EntityFrameworkCore" Version="1.15.0-beta.1" />
43+
<PackageReference Include="OpenTelemetry.Instrumentation.Hangfire" Version="1.15.0-beta.1" />
44+
<PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.15.0-beta.1" />
45+
<PackageReference Include="OpenTelemetry.Instrumentation.StackExchangeRedis" Version="1.15.0-beta.1" />
46+
<PackageReference Include="OpenTelemetry.Instrumentation.Wcf" Version="1.15.0-beta.1" />
4747
</ItemGroup>
4848

4949
<ItemGroup Label="Non-stable instrumentation packages with dependencies, only .NET Framework" Condition=" '$([MSBuild]::GetTargetFrameworkIdentifier(`$(TargetFramework)`))' == '.NETFramework' ">
50-
<PackageReference Include="OpenTelemetry.Instrumentation.AspNet" Version="1.14.0" />
51-
<PackageReference Include="OpenTelemetry.Instrumentation.Owin" Version="1.14.0-beta.1" />
50+
<PackageReference Include="OpenTelemetry.Instrumentation.AspNet" Version="1.15.0" />
51+
<PackageReference Include="OpenTelemetry.Instrumentation.Owin" Version="1.15.0-beta.1" />
5252
</ItemGroup>
5353

5454
<ItemGroup>

0 commit comments

Comments
 (0)