Skip to content

Instantly share code, notes, and snippets.

Created May 24, 2022 17:09
What would you like to do?
// ActivityListener Sampling callback
listener.Sample = (ref ActivityCreationOptions<ActivityContext> activityOptions) =>
activityOptions = activityOptions with { TraceState = "rojo=00f067aa0ba902b7" };
return ActivitySamplingResult.AllDataAndRecorded;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment