Skip to content

Commit

Permalink
Tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Sep 24, 2024
1 parent 0a7354f commit 3e14d7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/OpenTelemetry.Api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ Notes](../../RELEASENOTES.md).

## Unreleased

* Obsoleted the `ActivityExtensions.RecordException`. Users should migrate to the
`System.Diagnostics.Activity.AddException`
[Activity.AddException](https://learn.microsoft.com/dotnet/api/system.diagnostics.activity.addexception)
API for adding exception.
([#5841](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5841))

* **Breaking change:** CompositeTextMapPropagator.Fields now returns a
unioned set of fields from all combined propagators. Previously this always
returned an empty set.
Expand All @@ -35,6 +29,12 @@ Notes](../../RELEASENOTES.md).
`9.0.0-rc.1.24431.7`.
([#5853](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5853))

* Obsoleted the `ActivityExtensions.RecordException` extension method. Users
should migrate to the `System.Diagnostics.DiagnosticSource`
[Activity.AddException](https://learn.microsoft.com/dotnet/api/system.diagnostics.activity.addexception)
API for adding exceptions on an `Activity` instance.
([#5841](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5841))

## 1.9.0

Released 2024-Jun-14
Expand Down
2 changes: 1 addition & 1 deletion src/OpenTelemetry.Api/Trace/ActivityExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ public static void RecordException(this Activity? activity, Exception? ex, in Ta
return;
}

activity.AddException(ex, tags);
activity.AddException(ex, in tags);
}
}

0 comments on commit 3e14d7f

Please sign in to comment.