Use Activity.SetStatus instead of setting status inside Tags
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 268
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.*
* ID: 3f30f3b0-90cb-d2eb-ee08-4319ffcb7686
* Version Independent ID: dc4689df-b03a-e744-dbed-f23d8defcb6e
* Content: [Add distributed tracing instrumentation - .NET](https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs#optional-add-status)
* Content Source: [docs/core/diagnostics/distributed-tracing-instrumentation-walkthroughs.md](https://github.com/dotnet/docs/blob/main/docs/core/diagnostics/distributed-tracing-instrumentation-walkthroughs.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @tommcdon
* Microsoft Alias: **tommcdon**
Contributor guide
Assessment
This issue has not been assessed yet.