ArmMonitorModelFactory.PerformanceCountersOtelDataSource Method
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.
Definition of which Open Telemetry performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present.
public static Azure.ResourceManager.Monitor.Models.PerformanceCountersOtelDataSource PerformanceCountersOtelDataSource(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.KnownPerformanceCountersOtelDataSourceStreams> streams = default, int? samplingFrequencyInSeconds = default, System.Collections.Generic.IEnumerable<string> counterSpecifiers = default, string name = default);
static member PerformanceCountersOtelDataSource : seq<Azure.ResourceManager.Monitor.Models.KnownPerformanceCountersOtelDataSourceStreams> * Nullable<int> * seq<string> * string -> Azure.ResourceManager.Monitor.Models.PerformanceCountersOtelDataSource
Public Shared Function PerformanceCountersOtelDataSource (Optional streams As IEnumerable(Of KnownPerformanceCountersOtelDataSourceStreams) = Nothing, Optional samplingFrequencyInSeconds As Nullable(Of Integer) = Nothing, Optional counterSpecifiers As IEnumerable(Of String) = Nothing, Optional name As String = Nothing) As PerformanceCountersOtelDataSource
Parameters
List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
The number of seconds between consecutive counter measurements (samples).
- counterSpecifiers
- IEnumerable<String>
A list of specifier names of the performance counters you want to collect.
- name
- String
A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.
Returns
A new PerformanceCountersOtelDataSource instance for mocking.