Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

AZURE SERVICEBUS - Current Activity is prematurely stopped. Should be stopped once all observers have been notified! #1038

Closed

Description

Repro Steps

  1. Subscribe a new Observer on "Microsoft.Azure.ServiceBus"
  2. On streams of incoming events use Activity.Current to get the current activity and log some properties for the current activity, such as the Root_Id for example.

Actual Behavior

Activity.Current is null, because it is stopped on ServiceBusDiagnosticsEventHandler line 67

Expected Behavior

Activity.Current to not be null, until all observers have been notified.

Version Info

SDK Version : 2.7.2
.NET Version : netstandard2.0
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : visual studio
OS : Windows
Hosting Info (IIS/Azure WebApps/ etc) : Console application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions