Skip to content

Commit

Permalink
Doh, fixed an Activity.SetTag() that blew up when there's an Otel lis…
Browse files Browse the repository at this point in the history
…tener.
  • Loading branch information
jeremydmiller committed Jan 13, 2025
1 parent 35f61be commit c1daa67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<NoWarn>1570;1571;1572;1573;1574;1587;1591;1701;1702;1711;1735;0618</NoWarn>
<ImplicitUsings>true</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>3.6.2</VersionPrefix>
<VersionPrefix>3.6.3</VersionPrefix>
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand Down
2 changes: 1 addition & 1 deletion src/Wolverine/Transports/ListeningAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public async ValueTask StartAsync()
}

using var activity = WolverineTracing.ActivitySource.StartActivity(WolverineTracing.StartingListener);
activity?.SetTag(WolverineTracing.EndpointAddress, Listener.Address);
activity?.SetTag(WolverineTracing.EndpointAddress, Endpoint.Uri);

_receiver ??= Endpoint.MaybeWrapReceiver(await buildReceiverAsync());

Expand Down

0 comments on commit c1daa67

Please sign in to comment.