0

I'm setting up some dashboards in Grafana using data from AWS CloudWatch for an EB application.

It works fine for getting EnvironmentHealth, however for anything else I get "No data point".

I have tried selecting ApplicationRequestsTotal ApplicationRequests2xx CPUIdle Different latencies, etc

On AWS documentation I don't see any different recommendation for other metric types.

Works: us-east-1 → AWS/ElasticBeanstalk → EnvironmentHealth → Stats → Maximum

Don't work: us-east-1 → AWS/ElasticBeanstalk → ApplicationRequestsTotal → Stats → Maximum

I have also changed from Maximum to Average, Minimum, etc.

Even going to AWS CloudWatch to create dashboard I can only see the EnvironmentHealth metric when I select per Environment.

Do I have to enable anything on CloudWatch to allow other metrics?

dfranca
  • 135
  • 8
  • I recommend you to check Prometheus, it's got a great metrics exporter for CloudWatch, will make your life so much easier, check out this project: https://github.com/shelleg/prometheus-stack – Itai Ganot Mar 01 '18 at 12:23

1 Answers1

1

In Elastic Beanstalk, go to your env, configuration, monitoring and choose the metrics that you want to see.

You should also be aware that this might induce additional charges to your aws account.

Some stats are also available as part of ELB metrics in CloudWatch.

Gothrek
  • 512
  • 2
  • 7