Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Encapsulates the global telemetry configuration typically loaded from the ApplicationInsights.config file.
Gets the active TelemetryConfiguration instance loaded from the ApplicationInsights.config file.
If the configuration file does not exist, the active configuration instance is initialized with minimum defaults
needed to send telemetry to Application Insights.
Gets or sets the Application Id Provider.
Gets or sets the connection string. Setting this value will also set (and overwrite) the InstrumentationKey. The endpoints are validated and will be set (and overwritten) for InMemoryChannel and ServerTelemetryChannel as well as the ApplicationIdProvider.
Gets the default telemetry sink.
Gets or sets a value indicating whether sending of telemetry to Application Insights is disabled.
Gets the Endpoint Container responsible for making service endpoints available.
Gets a collection of strings indicating if an experimental feature should be enabled.
The presence of a string in this collection will be evaluated as 'true'.
Gets or sets the default instrumentation key for the application.
Gets or sets the telemetry channel for the default sink. Will also attempt to set the Channel's endpoint.
Gets the list of ITelemetryInitializer objects that supply additional information about telemetry.
Gets the TelemetryProcessorChainBuilder which can build and populate TelemetryProcessors in the TelemetryConfiguration.
Gets a readonly collection of TelemetryProcessors.
Gets a list of telemetry sinks associated with the configuration.
public TelemetryConfiguration()
Initializes a new instance of the TelemetryConfiguration class.
Initializes a new instance of the TelemetryConfiguration class.
Initializes a new instance of the TelemetryConfiguration class.
Creates a new TelemetryConfiguration instance loaded from the ApplicationInsights.config file.
If the configuration file does not exist, the new configuration instance is initialized with minimum defaults
needed to send telemetry to Application Insights.
Creates a new TelemetryConfiguration instance loaded from the specified configuration.
Releases resources used by the current instance of the TelemetryConfiguration class.
Set a TokenCredential for this configuration.