Cloudwatch integration data source

  • What Grafana version and what operating system are you using? 8.3

  • What are you trying to achieve? To show cloudwatch metrics in Grafana

  • How are you trying to achieve it? Using the Cloudwatch data source

  • What happened? Once the required details are introduced, Grafana tests the configuration, but stands stuck.

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

Authentication Provider

Access Key ID

Secret Access Key

Assume Role ARN: Role ARN added
External ID: Added

Endpoint (Not added as says optional)
Default Region
Namespaces of Custom Metrics
Not added

  • Also the role has the Cloudwatch read only policies attached.

One possible reason could be the role policy, not 100% sure if it is correct.

“Version”: “2012-10-17”,
“Statement”: [
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam:::root"
“Action”: “sts:AssumeRole”,
“Condition”: {
“StringEquals”: {
“sts:ExternalId”: "

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

“Metrics request error”, it is the only error got when we press the button test before adding the new data source.

Thanks for your help,

welcome to the :grafana: forum, @guille84

try increasing the verbosity of the Grafana server logs to debug and note any errors. For printing to console, set the console logs to debug as well.

Thank you Mattabrams, logs helped to find the issue, was getting a timeout error so the grafana server wasn’t having proper internet connectivity. After resolving this I was able to sort it out.
Thanks a lot for the advise, logs helped me to find the issue.