Skip to content

Commit c9e95b0

Browse files
committed
fix sample count to sum
1 parent d8e108b commit c9e95b0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/bootstrap-alarms.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ jobs:
5252
echo "Creating alarm: ${ALARM_NAME}"
5353
5454
# period = 259200s = 3 days (runs every workday + buffer for weekends)
55+
# Alarms when no success metric is received within the period
5556
aws cloudwatch put-metric-alarm \
5657
--alarm-name "${ALARM_NAME}" \
5758
--alarm-description "Integration test: ${distro} ${distro_version} / ruby ${runtime_version} (${arch})" \
5859
--namespace "${ALARM_NAMESPACE}" \
5960
--metric-name "TestResult" \
6061
--dimensions "Name=Distro,Value=${distro}" "Name=DistroVersion,Value=${distro_version}" "Name=RuntimeVersion,Value=${runtime_version}" "Name=Arch,Value=${arch}" \
61-
--statistic SampleCount \
62+
--statistic Sum \
6263
--period 259200 \
6364
--evaluation-periods 1 \
6465
--datapoints-to-alarm 1 \

0 commit comments

Comments
 (0)