Interview Prep/SRE & Reliability/Chaos Mesh, Litmus & AWS FIS

A FIS experiment with a stop condition on the SLO alarm kept running while errors rose.

AdvancedTroubleshootingChaos Mesh, Litmus & AWS FIS
Answer

Likely causes → The CloudWatch alarm was in INSUFFICIENT_DATA (metric missing or delayed), its evaluation periods were too long to react within the experiment, or it watched the wrong metric or dimension.

Diagnose →

aws cloudwatch describe-alarm-history --alarm-name checkout-slo-burn --max-items 10
aws cloudwatch describe-alarms --alarm-names checkout-slo-burn \
  --query 'MetricAlarms[].{state:StateValue,periods:EvaluationPeriods,period:Period}'

Fix → Use a 1-minute period with 1 to 3 datapoints, TreatMissingData: breaching for stop-condition alarms, and the correct dimensions. Verify the alarm fires by forcing it with aws cloudwatch set-alarm-state in a test.

Prevent → Test stop conditions before every new experiment template.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Chaos Mesh, Litmus & AWS FIS