Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat Req] Metrics from AWS Cloudfront #6739

Closed
ricardclau opened this issue Nov 28, 2016 · 3 comments
Closed

[Feat Req] Metrics from AWS Cloudfront #6739

ricardclau opened this issue Nov 28, 2016 · 3 comments

Comments

@ricardclau
Copy link
Contributor

  • 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?

@ricardclau ricardclau changed the title [Bug] Metrics for AWS global services? [Bug] Metrics for AWS Cloudfront? Nov 28, 2016
@ricardclau ricardclau changed the title [Bug] Metrics for AWS Cloudfront? [Bug] Metrics from AWS Cloudfront? Nov 28, 2016
@torkelo
Copy link
Member

torkelo commented Nov 29, 2016

@mtanda do you know anything about this?

@torkelo torkelo changed the title [Bug] Metrics from AWS Cloudfront? [Feat Req] Metrics from AWS Cloudfront Nov 29, 2016
@mtanda
Copy link
Collaborator

mtanda commented Nov 30, 2016

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.

@ricardclau
Copy link
Contributor Author

ricardclau commented Dec 1, 2016

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants