Мониторинг процессов: источник сбора данных о производительности

Microsoft.Windows.Server.10.0.Process.PerfMetrics.Collection.DataSource (DataSourceModuleType)

Источник сбора данных о производительности.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeMicrosoft.Windows.Server.10.0.DataItemProcessPort.Type

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource Microsoft.Windows.Server.10.0.Process.PerfMetrics.Collection.DataSource.Internal Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
LogLevelint$Config/LogLevel$Уровень ведения журнала
Определяет, какие события будут регистрироваться в журнале событий.
0 — все, 1 — информация, 2 — предупреждение, 4 — ошибка, 8 — подробности,
16 — отладка, 255 — никакие
IntervalSecondsint$Config/IntervalSeconds$Интервал (с)Интервал (с)
MonitoringConfigurationstring$Config/MonitoringConfiguration$Конфигурация мониторингаПозволяет задать исключить некоторые процессы из мониторинга в формате XML

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.10.0.Process.PerfMetrics.Collection.DataSource" Accessibility="Public">
<Configuration>
<!-- optional -->
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="MonitoringConfiguration" type="xsd:string"/>
<!-- optional -->
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="LogLevel" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ManagedEntityId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="LogLevel" Selector="$Config/LogLevel$" ParameterType="int"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="MonitoringConfiguration" Selector="$Config/MonitoringConfiguration$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DataSource" TypeID="Microsoft.Windows.Server.10.0.Process.PerfMetrics.Collection.DataSource.Internal">
<MonitoringConfiguration>$Config/MonitoringConfiguration$</MonitoringConfiguration>
<LogLevel>$Config/LogLevel$</LogLevel>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ManagedEntityId>$Config/ManagedEntityId$</ManagedEntityId>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DataSource"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Microsoft.Windows.Server.10.0.DataItemProcessPort.Type</OutputType>
</DataSourceModuleType>