Monitoring and Logging

Instances publish each request's latency as a high-resolution custom metric with an InstanceId dimension, and request volumes differ substantially. A dashboard must retain per-instance visibility and show the request-weighted fleet average for each 10-second interval. Which configuration meets these requirements?

Show the answer

Correct answerD. Retain InstanceId; divide combined Sum statistics by combined SampleCount statistics using a 10-second period.

AWhy not this: A 60-second period combines six required intervals and cannot show the requested 10-second averages.

BWhy not this: Removing InstanceId loses the required per-instance visibility; custom metrics do not automatically aggregate across dimensions.

CWhy not this: Averaging instance averages weights instances equally instead of weighting their individual requests equally.

DWhy this is right: Combined latency sums divided by combined request sample counts provide the weighted average while retaining instance dimensions.

Combining latency sums and dividing by combined sample counts produces a request-weighted average; high-resolution metrics support 10-second periods. Averaging instance averages gives each instance equal weight despite unequal request volumes.