Language

PerformanceCountersOtelDataSource Class

Definition

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 class PerformanceCountersOtelDataSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.PerformanceCountersOtelDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.PerformanceCountersOtelDataSource>
type PerformanceCountersOtelDataSource = class
    interface IJsonModel<PerformanceCountersOtelDataSource>
    interface IPersistableModel<PerformanceCountersOtelDataSource>
Public Class PerformanceCountersOtelDataSource
Implements IJsonModel(Of PerformanceCountersOtelDataSource), IPersistableModel(Of PerformanceCountersOtelDataSource)
Inheritance
PerformanceCountersOtelDataSource
Implements

Constructors

Name Description
PerformanceCountersOtelDataSource()

Initializes a new instance of PerformanceCountersOtelDataSource.

Properties

Name Description
CounterSpecifiers

A list of specifier names of the performance counters you want to collect.

Name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

SamplingFrequencyInSeconds

The number of seconds between consecutive counter measurements (samples).

Streams

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<PerformanceCountersOtelDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<PerformanceCountersOtelDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<PerformanceCountersOtelDataSource>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<PerformanceCountersOtelDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<PerformanceCountersOtelDataSource>.Write(ModelReaderWriterOptions)

Applies to