Skip to content

Commit f95c36c

Browse files
authored
Upgrades ASP.NET Core an HTTP instrumentation to 1.7.1, Runtime to 1.7.0 (#88)
1 parent 30d0d7c commit f95c36c

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
## Unreleased
44

5+
### Bug fixes
6+
7+
* Use 1.7.1 of ASP.NET Core instrumentation.
8+
* Fixed issue
9+
[#4466](https://github.com/open-telemetry/opentelemetry-dotnet/issues/4466)
10+
where the activity instance returned by `Activity.Current` was different than
11+
instance obtained from `IHttpActivityFeature.Activity`.
12+
([#5136](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5136))
13+
14+
* Fixed an issue where the `http.route` attribute was not set on either the
15+
`Activity` or `http.server.request.duration` metric generated from a
16+
request when an exception handling middleware is invoked. One caveat is that
17+
this fix does not address the problem for the `http.server.request.duration`
18+
metric when running ASP.NET Core 8. ASP.NET Core 8 contains an equivalent fix
19+
which should ship in version 8.0.2
20+
(see: [dotnet/aspnetcore#52652](https://github.com/dotnet/aspnetcore/pull/52652)).
21+
([#5135](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5135))
22+
23+
* Fixes scenario when the `net6.0` target of this library is loaded into a
24+
.NET 7+ process and the instrumentation does not behave as expected. This
25+
is an unusual scenario that does not affect users consuming this package
26+
normally. This fix is primarily to support the
27+
[opentelemetry-dotnet-instrumentation](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5252)
28+
project.
29+
([#5252](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5252))
30+
31+
* Use 1.7.1 of HTTP instrumentation.
32+
* .NET Framework - fix description for `http.client.request.duration` metric.
33+
([#5234](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5234))
34+
535
### New features
636

737
* [#81](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/81)

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
<!-- Stable instrumentation packages -->
3535
<ItemGroup>
3636
<PackageReference Include="MySql.Data.OpenTelemetry" Version="8.2.0" />
37-
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.5.1" />
37+
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.7.0" />
3838
</ItemGroup>
3939

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.7.0" />
43+
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.7.1" />
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

src/Grafana.OpenTelemetry/Grafana.OpenTelemetry.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
<!-- Non-stable instrumentation packages with dependencies, only .NET -->
6464
<ItemGroup Condition=" '$(TargetFramework)' != 'net462' ">
65-
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.7.0" />
65+
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.7.1" />
6666
</ItemGroup>
6767

6868
<!-- Non-stable instrumentation packages with dependencies, only .NET framework -->

0 commit comments

Comments
 (0)