Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Start and Stop an Activity for each request #939

@glennc

Description

@glennc

corefx just added the Activity type and Start/Stop extension methods on DiagnosticSource: dotnet/corefx#15103

Usage guide is here: https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md

The intent here is that we would call StartActivity as a request starts and StopActivity as it ends. We would use the value of TBD headers to flow the parentId and baggage values. I would imagine this is a case where we look for a default header but the user could change it with hosting config.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions