Is there a way to display CloudFront metrics inside an existing CloudWatch dashboard ?
I can view CloudFront distributions metrics in the CloudFront console (Total requests, hit ratio ...) but i cant find theses metrics in CloudWatch dashboards.
On the Cloudfront documentation (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cf-metricscollected.html) they talk about the "AWS/CloudFront" namespace, but there is no metric attached to this namespace in CloudWatch.
Also, I suspected there is an option to enable metrics(like the one to have detailed statistics from S3) , but I did not find such option.
I prefere having all metrics inside a single dashboard, it is easier to cross data (EC2 cpu utilization vs database connection vs cloudwatch req/s for example).
Try to look in region us-east-1
. You can find them there only because all CloudFront distributions are placed in us-east-1
.
From there you can add them to your dashboard ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With