Class TelemetryConfiguration
- Namespace
- DotCompute.Abstractions.Telemetry
- Assembly
- DotCompute.Abstractions.dll
Configuration settings for telemetry collection and reporting. Defines what metrics are collected and how they are processed.
public sealed class TelemetryConfiguration
- Inheritance
-
TelemetryConfiguration
- Inherited Members
Properties
AdditionalOptions
Gets or sets additional configuration options.
public Dictionary<string, object> AdditionalOptions { get; init; }
Property Value
AggregateMetrics
Gets or sets whether to aggregate metrics before export.
public bool AggregateMetrics { get; set; }
Property Value
AggregationWindow
Gets or sets the aggregation window size.
public TimeSpan AggregationWindow { get; set; }
Property Value
BatchSize
Gets or sets the batch size for telemetry exports.
public int BatchSize { get; set; }
Property Value
CollectExecutionTraces
Gets or sets whether to collect execution traces.
public bool CollectExecutionTraces { get; set; }
Property Value
CollectHardwareMetrics
Gets or sets whether to collect hardware metrics (GPU, CPU utilization).
public bool CollectHardwareMetrics { get; set; }
Property Value
CollectMemoryMetrics
Gets or sets whether to collect memory metrics.
public bool CollectMemoryMetrics { get; set; }
Property Value
CollectPerformanceMetrics
Gets or sets whether to collect performance metrics.
public bool CollectPerformanceMetrics { get; set; }
Property Value
CollectionInterval
Gets or sets the metrics collection interval.
public TimeSpan CollectionInterval { get; set; }
Property Value
CompressExports
Gets or sets whether to compress telemetry data before export.
public bool CompressExports { get; set; }
Property Value
CustomTags
Gets or sets custom tags to include with all telemetry data.
public Dictionary<string, string> CustomTags { get; init; }
Property Value
EnableDetailedDiagnostics
Gets or sets whether to include detailed diagnostics. Warning: This can significantly impact performance.
public bool EnableDetailedDiagnostics { get; set; }
Property Value
Enabled
Gets or sets whether telemetry collection is enabled.
public bool Enabled { get; set; }
Property Value
ExportInterval
Gets or sets the export interval for telemetry data.
public TimeSpan ExportInterval { get; set; }
Property Value
ExportTargets
Gets or sets the telemetry export targets.
public IList<TelemetryExportTarget> ExportTargets { get; init; }
Property Value
IncludeStackTraces
Gets or sets whether to include stack traces in telemetry.
public bool IncludeStackTraces { get; set; }
Property Value
MaxBufferSize
Gets or sets the maximum buffer size for telemetry data. When exceeded, oldest data is discarded.
public int MaxBufferSize { get; set; }
Property Value
MaxTraceDepth
Gets or sets the maximum trace depth for execution traces.
public int MaxTraceDepth { get; set; }
Property Value
MinimumSeverity
Gets or sets the minimum severity level for telemetry events.
public TelemetrySeverity MinimumSeverity { get; set; }
Property Value
RetentionPeriod
Gets or sets the maximum retention period for telemetry data.
public TimeSpan RetentionPeriod { get; set; }
Property Value
SamplingRate
Gets or sets the sampling rate for metrics (0-1). 1.0 means collect all metrics, 0.5 means sample 50%, etc.
public double SamplingRate { get; set; }
Property Value
ServiceName
Gets or sets the service name for telemetry identification.
public string ServiceName { get; set; }
Property Value
ServiceVersion
Gets or sets the service version for telemetry identification.
public string ServiceVersion { get; set; }
Property Value
ThrowOnTelemetryErrors
Gets or sets whether to throw exceptions when telemetry errors occur.
public bool ThrowOnTelemetryErrors { get; set; }