Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CloudWatch Alarms with metric math in alarm handler #1

Open
farski opened this issue Sep 27, 2019 · 0 comments
Open

Support CloudWatch Alarms with metric math in alarm handler #1

farski opened this issue Sep 27, 2019 · 0 comments
Assignees

Comments

@farski
Copy link
Member

farski commented Sep 27, 2019

{'Period': 300, 'EvaluationPeriods': 1, 'ComparisonOperator': 'LessThanThreshold', 'Threshold': 10.0, 'TreatMissingData': '- TreatMissingData: missing', 'EvaluateLowSampleCountPercentile': '', 'Metrics': [{'Expression': 'MAX(METRICS())', 'Id': 'e1', 'Label': 'MAX(Evictions)', 'ReturnData': True}, {'Id': 'm1', 'MetricStat': {'Metric': {'Dimensions': [{'value': 'dovetail-prod-0001-001', 'name': 'CacheClusterId'}], 'MetricName': 'Evictions', 'Namespace': 'AWS/ElastiCache'}, 'Period': 300, 'Stat': 'Average'}, 'ReturnData': False}, {'Id': 'm2', 'MetricStat': {'Metric': {'Dimensions': [{'value': 'dovetail-prod-0001-002', 'name': 'CacheClusterId'}], 'MetricName': 'Evictions', 'Namespace': 'AWS/ElastiCache'}, 'Period': 300, 'Stat': 'Average'}, 'ReturnData': False}]}

Some values (like Namespace and Statistic) don't exist at the root when there's a metric math expression. Need to figure out how best to represent the that data as a single metric

@farski farski self-assigned this Oct 12, 2019
@farski farski changed the title Support CW Alarms with metric math in alarm handler Support CloudWatch Alarms with metric math in alarm handler Jan 31, 2022
@farski farski transferred this issue from PRX/Infrastructure Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant