Latency Metric

Amazon.AmazonWebServices.Rule.ElbMetric.Latency (Rule)

Time elapsed after the request leaves the load balancer until it receives the corresponding response.

Knowledge Base article:

Amazon Elastic Load Balancer Latency Metric

Time elapsed after the request leaves the load balancer until it receives the corresponding response.

Units: Seconds

Valid Statistics: Minimum, Maximum, Average, and Count

Element properties:

TargetAmazon.AmazonWebServices.ElasticLoadBalancerHealth
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Amazon.AmazonWebServices.MetricCollectionTimerDataSource Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Amazon.AmazonWebServices.Rule.ElbMetric.Latency" Enabled="true" Target="Amazon.AmazonWebServices.ElasticLoadBalancerHealth" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Amazon.AmazonWebServices.MetricCollectionTimerDataSource">
<WorkFlowName>LatencyRuleTimer</WorkFlowName>
<StartTimeInSeconds>760</StartTimeInSeconds>
<IntervalTimeInSeconds>900</IntervalTimeInSeconds>
<NamespaceFilter>AWS/ELB</NamespaceFilter>
<MetricName>Latency</MetricName>
<Unit>Latency (Milliseconds)</Unit>
<ResourceName>LoadBalancerName</ResourceName>
<ResourceId>$Target/Property[Type='Amazon.AmazonWebServices.ElasticLoadBalancerHealth']/Id$</ResourceId>
<Period>60</Period>
<StatisticType>Average</StatisticType>
<RegionName>$Target/Property[Type='Amazon.AmazonWebServices.Component']/RegionName$</RegionName>
<ObjectName>Amazon Elastic Load Balancer</ObjectName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>