Commit Graph

28 Commits

Author SHA1 Message Date
usmangani1
09b764148c
Fix : Added implementation for CloudWatch Describe Metric for Alarm (#3148)
* Fix : added implementation for CloudWatch Describe Metric for Alarm

* Linting

Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-07-18 10:47:53 +01:00
usmangani1
7a6d78afde
Fix: Cloudwatch delete Alarm status code handling on invalid alarm name (#3028)
* CloudWwatch delete Alarm status code handling on invalid alarm Name

* Handled cases where a mix of existent and non existent alarms are tried to delete

* Linting

Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-05-28 15:52:56 +01:00
Mike Grima
dd22e7855a Fixed a regression with CloudWatch 2020-04-27 12:56:17 -07:00
Steve Pulec
b4a11cd19f
Merge pull request #2848 from bblommers/feature/2239
CloudWatch - Initial get-metric-data implementation
2020-04-25 18:39:21 -05:00
Bert Blommers
fb0de99e81 #2239 - Initial implementation of CW.get_metric_data 2020-03-28 13:41:17 +00:00
Bert Blommers
c3865532f9 #2711 - Register default S3 metrics in CloudWatch 2020-03-23 15:53:39 +00:00
Tim Gatzemeier
6e490a9190 make linter happy 2020-03-16 21:58:50 +01:00
Tim Gatzemeier
50974aa9b2 add test cases to ensure actions enabled is correctly returned 2020-03-16 21:45:29 +01:00
Tim Gatzemeier
9d3ee116d3 add test case for actions_enabled field 2020-03-16 20:14:41 +01:00
Bert Blommers
0e43369155 Linting 2020-03-11 12:47:40 +00:00
Huang syunwei
ab68d14649 Fix bug of put metric data with timestamp, timestamp should be a date time object instead of a string 2020-03-11 12:47:09 +00:00
Stephan Huber
0527e88d46 Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
Bert Blommers
36a5d80443 #2010 - Implement Cloudwwatch list_metrics pagination 2019-11-25 16:59:39 +00:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Stephan
e51d1bfade merge 2018-12-21 12:28:56 +01:00
Steve Pulec
69587c151c
Merge branch 'master' into bugfix/1615-cloudwatch-statistics 2018-05-29 22:19:25 -04:00
bclodius
1a0a951b06 Fixes #1608 2018-05-05 15:22:29 -04:00
Barry O'Neill
9e7b86faef Issue 1615 - missing Value should not kill put_metric_data 2018-05-03 19:47:36 -04:00
Pieter Jordaan
a8cd5fb7fd Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to 'state_value'. This ensures that the 'StateValue' returned by 'describe_alarms' is correct.
The 'DESCRIBE_ALARMS_TEMPLATE' response template references a 'state_value' attribute on the 'FakeAlarm' model which does not exist; it is named 'state'.
This commit updates the attribute to be called 'state_value', in-line with the naming convention used elsewhere.
2018-01-08 13:18:50 +01:00
Alexander Mohr
81f3cbb548 fix cloudwatch bug (#1374)
* bugfix + add tests
2017-12-05 09:25:08 +00:00
Terry Cain
6adfb97753
Added SetAlarmState and added state filter to describe 2017-10-27 18:58:11 +01:00
Terry Cain
c965fdd47f Added dashboard methods + tests 2017-09-22 16:38:20 +01:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Ilya Sukhanov
a37838b638 Preserve Namespace and MetricName when creating cloudwatch alarm. 2016-08-01 17:31:08 -04:00
Ilya Sukhanov
9bf5c2e706 CloudWatch DescribeAlarm filters.
Adds support for filtering by:
action_prefix
alarm_name_prefix
alarm_names

And throw NotImplementedError when filtering by:
state_value
2015-07-22 21:08:39 -04:00
Philippe Gauthier
d5d9c13975 Add put_metric_data and list_metrics 2015-05-29 17:34:36 -04:00
Steve Pulec
93f56322d8 Fix merge conflicts for cloudwatch. 2014-10-30 23:51:09 -04:00