grafana/pkg/tsdb/cloudwatch
Erik Sundell fde9a5d112
Cloudwatch: Backend cleanup (#59663)
* cleanup cloudwatch.go

* streamline interface naming

* use utility func

* rename test utils file

* move util function to where they are used

* move dtos to models

* split integration tests from the rest

* Update pkg/tsdb/cloudwatch/cloudwatch.go

Co-authored-by: Isabella Siu <Isabella.siu@grafana.com>

* refactor error codes aggregation

* move error messages to models

Co-authored-by: Isabella Siu <Isabella.siu@grafana.com>
2022-12-02 10:21:46 +01:00
..
clients Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
constants CloudWatch: Move hard coded metrics, namespaces and dimensions to its own package (#57089) 2022-10-18 09:23:47 +02:00
mocks CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
models Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
routes Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
services Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
testdata Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
utils CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
annotation_query_test.go CloudWatch: fix custom namespace for listing dimension keys, refactor to non-pointer types, add test assertions, rename packages (#59106) 2022-11-22 15:59:11 +01:00
annotation_query.go CloudWatch: Remove simplejson in favor of 'encoding/json' (#51062) 2022-07-08 19:39:53 +00:00
client_factory.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
cloudwatch_integration_test.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
cloudwatch_test.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
cloudwatch.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
get_metric_data_executor_test.go CloudWatch: Refactor test mock by removing GetMetricsData from FakeMetricsAPI (#58355) 2022-11-08 10:28:50 +01:00
get_metric_data_executor.go Chore: Convert CloudWatch metrics to data frames (#27449) 2020-10-06 13:45:58 +02:00
log_actions_test.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
log_actions.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
log_alert.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
log_query_test.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
log_query.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
metric_data_input_builder_test.go use logger context in cloudwatch (#57842) 2022-11-02 10:14:02 -04:00
metric_data_input_builder.go use logger context in cloudwatch (#57842) 2022-11-02 10:14:02 -04:00
metric_data_query_builder_test.go CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
metric_data_query_builder.go CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
metric_find_query_test.go CloudWatch: fix custom namespace for listing dimension keys, refactor to non-pointer types, add test assertions, rename packages (#59106) 2022-11-22 15:59:11 +01:00
metric_find_query.go CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
resource_handler.go CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
response_parser_test.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
response_parser.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
sort_frame_test.go CloudWatch/Logs: Fix crash when time column has nil values (#37708) 2021-08-12 10:36:06 +02:00
sort_frame.go CloudWatch/Logs: Fix crash when time column has nil values (#37708) 2021-08-12 10:36:06 +02:00
test_utils.go Cloudwatch: Backend cleanup (#59663) 2022-12-02 10:21:46 +01:00
time_series_query_test.go CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00
time_series_query.go CloudWatch: Cross-account querying support (#59362) 2022-11-28 12:39:12 +01:00