Microsoft.Extensions.Diagnostics.Tracing Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| ActivityListenerBuilder |
Describes the user-configurable surface of an ActivityListener registered with an ITracingBuilder. The tracing infrastructure consumes the values set on the builder and constructs the underlying ActivityListener; subscription to ActivitySource instances is controlled entirely by the configuration-driven TracingRule set. |
| ActivityListenerConfigurationFactory |
Resolves an IConfiguration view for a named ActivityListener. |
| TracingBuilderConfigurationExtensions |
Extensions for ITracingBuilder for enabling tracing based on IConfiguration. |
| TracingBuilderExtensions |
Extension methods for ITracingBuilder to add or clear ActivityListener registrations. |
| TracingOptions |
Represents options for configuring the tracing system. |
| TracingRule |
Contains a set of parameters used to determine which activities are enabled for which listeners. An unspecified SourceName matches all activity sources, an unspecified OperationName matches all activities within the matching sources, and an unspecified ListenerName matches all listeners. |
Interfaces
| Name | Description |
|---|---|
| ITracingBuilder |
Configures the tracing system by registering ActivityListener instances and using rules to determine which ActivitySource and Activity instances are enabled. |
Enums
| Name | Description |
|---|---|
| ActivitySourceScopes |
Represents scopes used by TracingRule to distinguish between activity sources created directly via ActivitySource constructors (Global) and those created via dependency injection with Create(ActivitySourceOptions) (Local). |