InstrumentationOptions Class
Definition
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.
Controls which telemetry signals and auto-instrumentations are active.
All options default to true (opt-out model).
public class InstrumentationOptions
type InstrumentationOptions = class
Public Class InstrumentationOptions
- Inheritance
-
InstrumentationOptions
Constructors
| Name | Description |
|---|---|
| InstrumentationOptions() | |
Properties
| Name | Description |
|---|---|
| EnableAgent365Instrumentation |
Gets or sets a value indicating whether Agent365 SDK scope and baggage
instrumentation is enabled ( |
| EnableAgentFrameworkInstrumentation |
Gets or sets a value indicating whether Microsoft Agent Framework
instrumentation is enabled ( |
| EnableAspNetCoreInstrumentation |
Gets or sets a value indicating whether ASP.NET Core incoming request
instrumentation is enabled. Default: |
| EnableAzureSdkInstrumentation |
Gets or sets a value indicating whether Azure SDK client library
instrumentation is enabled. Default: |
| EnableHttpClientInstrumentation |
Gets or sets a value indicating whether HttpClient
outgoing request instrumentation is enabled. Default: |
| EnableLogging |
Gets or sets a value indicating whether OpenTelemetry log export is enabled.
When |
| EnableMetrics |
Gets or sets a value indicating whether the metrics pipeline is enabled.
When |
| EnableOpenAIInstrumentation |
Gets or sets a value indicating whether OpenAI and Azure OpenAI SDK
instrumentation is enabled ( |
| EnableSemanticKernelInstrumentation |
Gets or sets a value indicating whether Semantic Kernel orchestrator
instrumentation is enabled ( |
| EnableSqlClientInstrumentation |
Gets or sets a value indicating whether SQL Client database call
instrumentation is enabled. Default: |
| EnableTracing |
Gets or sets a value indicating whether the distributed tracing pipeline is enabled.
When |