Performance collection

Amazon.AmazonWebServices.MetricCollectionTimerDataSource (DataSourceModuleType)

Collect EC2, ELB and EBS Metrics Data

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.Performance.Data

Member Modules:

ID Module Type TypeId RunAs 
Trigger DataSource Amazon.AmazonWebServices.TimerManagedModuleDataSource Default
MetricCollection ProbeAction Amazon.AmazonWebServices.MetricCollectionManagedProbeAction Default
PerfMapper ConditionDetection System.Performance.DataGenericMapper Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalTimeInSecondsint$Config/IntervalTimeInSeconds$Interval (sec)
Periodint$Config/Period$The period to sample metrics (min)
StatisticTypestring$Config/StatisticType$Average, Sum or Count

Source Code:

<DataSourceModuleType ID="Amazon.AmazonWebServices.MetricCollectionTimerDataSource" Accessibility="Internal">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="WorkFlowName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="StartTimeInSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="IntervalTimeInSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="NamespaceFilter" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="MetricName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="Unit" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="ResourceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="ResourceId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="Period" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="StatisticType" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="RegionName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" maxOccurs="1" name="ObjectName" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalTimeInSeconds" ParameterType="int" Selector="$Config/IntervalTimeInSeconds$"/>
<OverrideableParameter ID="Period" ParameterType="int" Selector="$Config/Period$"/>
<OverrideableParameter ID="StatisticType" ParameterType="string" Selector="$Config/StatisticType$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Trigger" TypeID="Amazon.AmazonWebServices.TimerManagedModuleDataSource">
<WorkFlowName>$Config/WorkFlowName$</WorkFlowName>
<StartTimeInSeconds>$Config/StartTimeInSeconds$</StartTimeInSeconds>
<IntervalTimeInSeconds>$Config/IntervalTimeInSeconds$</IntervalTimeInSeconds>
</DataSource>
<ProbeAction ID="MetricCollection" TypeID="Amazon.AmazonWebServices.MetricCollectionManagedProbeAction">
<NamespaceFilter>$Config/NamespaceFilter$</NamespaceFilter>
<MetricName>$Config/MetricName$</MetricName>
<Unit>$Config/Unit$</Unit>
<ResourceName>$Config/ResourceName$</ResourceName>
<ResourceId>$Config/ResourceId$</ResourceId>
<Period>$Config/Period$</Period>
<StatisticType>$Config/StatisticType$</StatisticType>
<RegionName>$Config/RegionName$</RegionName>
<AwsAccessKey>$RunAs[Name="Amazon.AmazonWebServices.RunAsProfile.AwsKeys"]/UserName$</AwsAccessKey>
<AwsSecretKey>$RunAs[Name="Amazon.AmazonWebServices.RunAsProfile.AwsKeys"]/Password$</AwsSecretKey>
</ProbeAction>
<ConditionDetection ID="PerfMapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>$Config/ObjectName$</ObjectName>
<CounterName>$Data/Property[@Name='CounterName']$</CounterName>
<InstanceName>$Data/Property[@Name='ResourceId']$</InstanceName>
<Value>$Data/Property[@Name='Value']$</Value>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="PerfMapper">
<Node ID="MetricCollection">
<Node ID="Trigger"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Perf!System.Performance.Data</OutputType>
</DataSourceModuleType>