Skip to content

Use Activity.SetStatus instead of setting status inside Tags #37103

Open
@cijothomas

Description

[Enter feedback here]
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs#optional-add-status

SetStatus is showing the approach to use special Tags to store status, but now that Activity has first class support for Status, it must be updated to show that approach instead.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions