Class TelemetryOptions
- Namespace
- DotCompute.Abstractions.Interfaces.Telemetry
- Assembly
- DotCompute.Abstractions.dll
Telemetry configuration options for the DotCompute telemetry system.
public class TelemetryOptions
- Inheritance
-
TelemetryOptions
- Inherited Members
Properties
CustomExporters
Gets or sets custom exporters.
public IList<ITelemetryExporter> CustomExporters { get; }
Property Value
EnableApplicationInsights
Gets or sets whether to export to Application Insights.
public bool EnableApplicationInsights { get; set; }
Property Value
EnableAsyncProcessing
Gets or sets whether asynchronous processing is enabled for telemetry data.
public bool EnableAsyncProcessing { get; set; }
Property Value
EnableOpenTelemetry
Gets or sets whether to export to OpenTelemetry.
public bool EnableOpenTelemetry { get; set; }
Property Value
EnablePrometheus
Gets or sets whether to export to Prometheus.
public bool EnablePrometheus { get; set; }
Property Value
Enabled
Gets or sets whether telemetry is enabled.
public bool Enabled { get; set; }
Property Value
Environment
Gets or sets the environment name.
public string Environment { get; set; }
Property Value
IncludeDetailedMetrics
Gets or sets whether to include detailed metrics.
public bool IncludeDetailedMetrics { get; set; }
Property Value
IsEnabled
Gets or sets whether telemetry is enabled (alias for Enabled).
public bool IsEnabled { get; set; }
Property Value
LogTelemetryErrors
Gets or sets whether to log telemetry errors to the configured logger.
public bool LogTelemetryErrors { get; set; }
Property Value
MetricCollectionInterval
Gets or sets metric collection interval.
public TimeSpan MetricCollectionInterval { get; set; }
Property Value
SamplingRate
Gets or sets the sampling rate (0.0 to 1.0).
public double SamplingRate { get; set; }
Property Value
ServiceName
Gets or sets the service name for telemetry.
public string ServiceName { get; set; }
Property Value
ServiceVersion
Gets or sets the service version.
public string? ServiceVersion { get; set; }
Property Value
ThrowOnTelemetryErrors
Gets or sets whether to throw exceptions when telemetry errors occur.
public bool ThrowOnTelemetryErrors { get; set; }
Property Value
TrackOverhead
Gets or sets whether to track telemetry collection overhead.
public bool TrackOverhead { get; set; }