你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PSPerfCounterDataSource Class

Definition

Wraps the PerfCounterDataSource class.

public class PSPerfCounterDataSource
type PSPerfCounterDataSource = class
Public Class PSPerfCounterDataSource
Inheritance
PSPerfCounterDataSource

Constructors

PSPerfCounterDataSource()

Initializes a new instance of the PSExtensionDataSource class.

PSPerfCounterDataSource(PerfCounterDataSource)

Initializes a new instance of the PSExtensionDataSource 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).

ScheduledTransferPeriod

Gets or sets the interval between data uploads (scheduled transfers), rounded up to the nearest minute. Possible values include: 'PT1M', 'PT5M', 'PT15M', 'PT30M', 'PT60M'

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