Partajați prin


ResourceMonitoringOptions.CpuConsumptionRefreshInterval Property

Definition

Gets or sets the default interval used for refreshing values reported by "process.cpu.utilization" metrics.

public:
 property TimeSpan CpuConsumptionRefreshInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CpuConsumptionRefreshInterval { get; set; }
member this.CpuConsumptionRefreshInterval : TimeSpan with get, set
Public Property CpuConsumptionRefreshInterval As TimeSpan

Property Value

The default value is 5 seconds.

Remarks

This property is Linux-specific and has no effect on other operating systems. This is the time interval for a metric value to fetch resource utilization data from the operating system.

Applies to