Skip to content

holyjak/docker-grafana-influxdb-cloudwatch

Repository files navigation

docker-grafana-influxdb-cloudwatch

Derived from kamon-io/docker-grafana-influxdb, this image contains a sensible default configuration of InfluxDB and Grafana but also:

See the introductory blog post All-in-one Docker with Grafana, InfluxDB, and cloudwatch-to-graphite for AWS/Beanstalk monitoring for more details.

Configuration

For InfluxDB and Grafana, see docker-grafana-influxdb. By default there are 2 databases, grafana for dashboards and data for metrics. Use the user and password data to access the metrics via the InfluxDB UI.

Regarding cloudwatch-to-graphite and its leadbutt command-line:

  • Metrics to fetch are in cloudwatch/leadbutt-cloudwatch
  • AWS Credentials are supposed to be provided via env variables, for example: docker run -e AWS_ACCESS_KEY_ID=xxxx -e AWS_SECRET_ACCESS_KEY=yyyy ... (see ./start) - in the case of AWS Elastic Beanstalk you can set them in you environment's configuration UI

Other

See utils/leadbutt2influxdb.clj for a utility that can convert leadbutt output to InfluxDB input. You might want to copy and modify the leadbutt configuration file to fetch the last 2 weeks of hourly data (Period: 60; Count: 336), use the utility to convert it and post to InfluxDB.

About

Docker container with InfluxDB, Grafana, fetching metrics from AWS CloudWatch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages