ResourceUtilizationHealthCheckOptions.UseObservableResourceMonitoringInstruments Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the observable instruments will be used for getting CPU and Memory usage as opposed to the default IResourceMonitor API which is obsolete.
public:
property bool UseObservableResourceMonitoringInstruments { bool get(); void set(bool value); };
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0007", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public bool UseObservableResourceMonitoringInstruments { get; set; }
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0007", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
member this.UseObservableResourceMonitoringInstruments : bool with get, set
Public Property UseObservableResourceMonitoringInstruments As Boolean
Property Value
true
if the observable instruments are used. The default is false
.
In the future the default will be true
.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.