Table of Contents

Class PerformanceMonitoringOptions

Namespace
DotCompute.Runtime.Configuration
Assembly
DotCompute.Runtime.dll

Configuration options for performance monitoring

public class PerformanceMonitoringOptions
Inheritance
PerformanceMonitoringOptions
Inherited Members

Properties

CollectionIntervalSeconds

Gets or sets the metrics collection interval in seconds

[Range(1, 3600)]
public int CollectionIntervalSeconds { get; set; }

Property Value

int

EnableKernelProfiling

Gets or sets whether to enable detailed kernel profiling

public bool EnableKernelProfiling { get; set; }

Property Value

bool

EnableMemoryTracking

Gets or sets whether to enable memory usage tracking

public bool EnableMemoryTracking { get; set; }

Property Value

bool

EnableMetricsExport

Gets or sets whether to export metrics to external systems

public bool EnableMetricsExport { get; set; }

Property Value

bool

EnableMonitoring

Gets or sets whether performance monitoring is enabled

public bool EnableMonitoring { get; set; }

Property Value

bool

MaxMetricsCount

Gets or sets the maximum number of metrics to retain

[Range(100, 100000)]
public int MaxMetricsCount { get; set; }

Property Value

int

MetricsEndpoint

Gets or sets the metrics export endpoint

public string? MetricsEndpoint { get; set; }

Property Value

string

PerformanceThresholds

Gets or sets custom performance thresholds

public Dictionary<string, double> PerformanceThresholds { get; init; }

Property Value

Dictionary<string, double>