I am using cloudwatch as a data source for my grafana dashboard.
I use the following two commands to send data to cloudwatch:
aws cloudwatch put-metric-data --namespace Staging --dimensions Component=app1 --dimensions Name=api_perf --dimensions APIVerb=GET --metric-name /api1 --value 21
aws cloudwatch put-metric-data --namespace Staging --dimensions Component=app1 --dimensions Name=api_perf --dimensions APIVerb=GET --metric-name /api2 --value 13
I am trying to monitor the api performances for the two apis GET /api1
and GET /api2
.
My question is: Is there a way to display all the apis using a single configuration for the metric? i.e. I should be able to use a
*
, instead of multiple metrics for api1, api2 and so on.