Grafana: [Feat Req] Metrics from AWS Cloudfront

Created on 29 Nov 2016  ·  3Comments  ·  Source: grafana/grafana

  • What Grafana version are you using? 3.1.1
  • What datasource are you using? Cloudwatch
  • What OS are you running grafana on? Ubuntu 16
  • What did you do? Try to graph Cloudwatch metrics from Cloudfront

Hi

I was trying to use Grafana to plot some Cloudwatch metrics from Global Services and I don´t seem to be able to. These services are supposed to generate metrics in a fake region called "Global" but when I set the region to it I can see Grafana is trying to contact https://monitoring.Global.amazonaws.com/ in the logs which obviously does not exist

I have even added full access to any cloudfront resource from the Grafana EC2 instance on top of the required GetMetricStatistics / ListMetrics with no success

Is this a known limitation / bug? Any hints on what can I do (if anything) to get these metrics shown in Grafana?

typquestion

Most helpful comment

I am sorry, the docs were a bit misleading and now I can finally display Cloudwatch metrics

I am posting a screenshot for reference in case someone else has similar issues

image

So, essentially, region must be us-east-1 as this is where the data is stored (https://monitoring.us-east-1.amazonaws.com/) and you need to specify Region: Global in "Dimensions" as the docs state

Sorry about opening this and the issue can be closed!

All 3 comments

@mtanda do you know anything about this?

We don't use Cloudfront, I don't know it.
According to docs, the region is looking like dimensions.

The region for which you want to display metrics. This value must be Global. The Region dimension is different from the region in which CloudFront metrics are stored, which is US East (N. Virginia).

http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cf-metricscollected.html

I think the region field in CloudWatch datasource config page should be like us-east-1, not Global.
And set Region dimensions to Global may work.

I am sorry, the docs were a bit misleading and now I can finally display Cloudwatch metrics

I am posting a screenshot for reference in case someone else has similar issues

image

So, essentially, region must be us-east-1 as this is where the data is stored (https://monitoring.us-east-1.amazonaws.com/) and you need to specify Region: Global in "Dimensions" as the docs state

Sorry about opening this and the issue can be closed!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SATHVIKRAJU picture SATHVIKRAJU  ·  3Comments

Minims picture Minims  ·  3Comments

KlavsKlavsen picture KlavsKlavsen  ·  3Comments

Azef1 picture Azef1  ·  3Comments

dlintw picture dlintw  ·  3Comments