PerfCounterDataSource Class

Definition of which 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.

ivar 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.

vartype streams: list[str or ~$(python-base-namespace).v2019_11_01_preview.models.KnownPerfCounterDataSourceStreams]

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

vartype sampling_frequency_in_seconds: int

ivar counter_specifiers: A list of specifier names of the performance counters you want to collect. Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the command 'typeperf'.

vartype counter_specifiers: list[str]

ivar 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.

vartype name: str

Inheritance
PerfCounterDataSource

Constructor

PerfCounterDataSource(*, streams: Optional[List[Union[str, azure.mgmt.monitor.v2019_11_01_preview.models._monitor_management_client_enums.KnownPerfCounterDataSourceStreams]]] = None, sampling_frequency_in_seconds: Optional[int] = None, counter_specifiers: Optional[List[str]] = None, name: Optional[str] = None, **kwargs)