ResourceMonitoringOptions.MemoryConsumptionRefreshInterval Propiedad

Definición

Precaución

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

Obtiene o establece el intervalo predeterminado que se usa para actualizar los valores notificados por "dotnet.process.memory.virtual.utilization" las métricas.

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; }
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
member this.MemoryConsumptionRefreshInterval : TimeSpan with get, set
Public Property MemoryConsumptionRefreshInterval As TimeSpan

Valor de propiedad

El valor predeterminado es 5 segundos.

Atributos

Comentarios

Esta propiedad es específica de Linux y no tiene ningún efecto en otros sistemas operativos. Este es el intervalo de tiempo de un valor de métrica para capturar los datos de uso de recursos del sistema operativo.

Se aplica a