PerfCounterDataSource Class
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 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 PerfCounterDataSource
type PerfCounterDataSource = class
Public Class PerfCounterDataSource
- Inheritance
-
PerfCounterDataSource
Constructors
PerfCounterDataSource() |
Initializes a new instance of the PerfCounterDataSource class. |
PerfCounterDataSource(IList<String>, Nullable<Int32>, IList<String>, String) |
Initializes a new instance of the PerfCounterDataSource class. |
Properties
CounterSpecifiers |
Gets or sets 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'. |
Name |
Gets or sets 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 |
Gets or sets the number of seconds between consecutive counter measurements (samples). |
Streams |
Gets or sets 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. |
Applies to
Azure SDK for .NET