Del via


ResourceMonitoringOptions.MemoryConsumptionRefreshInterval Property

Definition

Caution

This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.

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

public:
 property TimeSpan MemoryConsumptionRefreshInterval { TimeSpan get(); void set(TimeSpan value); };
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public TimeSpan MemoryConsumptionRefreshInterval { get; set; }
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
member this.MemoryConsumptionRefreshInterval : TimeSpan with get, set
Public Property MemoryConsumptionRefreshInterval As TimeSpan

Property Value

The default value is 5 seconds.

Attributes

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