grafana/pkg/tsdb/cloudwatch/models/request
Erik Sundell 4c654ddb76
Cloudwatch: Refactor metrics resource request (#57424)
* refactor metrics request

* Update pkg/tsdb/cloudwatch/routes/dimension_keys_test.go

Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>

* return metric struct value intead of pointer

* make it possible to test hard coded metrics service

* test all paths in route

* fix broken test

* fix one more broken test

* add integration test

Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>
2022-10-25 14:00:54 +02:00
..
dimension_keys_request_test.go Cloudwatch: Refactor dimension values resource request (#57346) 2022-10-24 15:04:25 +02:00
dimension_keys_request.go Cloudwatch: Refactor metrics resource request (#57424) 2022-10-25 14:00:54 +02:00
dimension_values_request.go Cloudwatch: Refactor dimension values resource request (#57346) 2022-10-24 15:04:25 +02:00
dimension_values_rquest_test.go Cloudwatch: Refactor dimension values resource request (#57346) 2022-10-24 15:04:25 +02:00
metrics_test.go Cloudwatch: Refactor metrics resource request (#57424) 2022-10-25 14:00:54 +02:00
metrics.go Cloudwatch: Refactor metrics resource request (#57424) 2022-10-25 14:00:54 +02:00
resource_request_test.go Cloudwatch: Refactor dimension values resource request (#57346) 2022-10-24 15:04:25 +02:00
resource_request.go Cloudwatch: Refactor dimension values resource request (#57346) 2022-10-24 15:04:25 +02:00
types.go Cloudwatch: Refactor dimension values resource request (#57346) 2022-10-24 15:04:25 +02:00
utils.go Cloudwatch: Refactor metrics resource request (#57424) 2022-10-25 14:00:54 +02:00