dotnet / dotnet/dotnet-api-docs

Document Tracing/Activity sampling

Open
#9,978 5 comments 0 reactions 2 assignees Claimed by @samsp-msft View on GitHub
area-System.Diagnostics.Tracing Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

There is infrastructure via ActivityListener.Sample and in ASP.NET core when the request comes in to pull the trace flags from the incoming request to create the TraceID and set the Recorded bit on the activity. These can be overridden if necessary to add custom logic such as only trusting trace information from certain hosts, however its not currently documented.

@noahfalk has the knowledge in his head - we need to put this into documentation in the form of a sampling scenarios HowTo or cookbook.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.