Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/holyjak/docker-grafana-influxdb-cloudwatch
Docker container with InfluxDB, Grafana, fetching metrics from AWS CloudWatch
https://github.com/holyjak/docker-grafana-influxdb-cloudwatch
Last synced: 2 months ago
JSON representation
Docker container with InfluxDB, Grafana, fetching metrics from AWS CloudWatch
- Host: GitHub
- URL: https://github.com/holyjak/docker-grafana-influxdb-cloudwatch
- Owner: holyjak
- License: apache-2.0
- Created: 2015-05-03T14:05:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-27T19:03:32.000Z (over 9 years ago)
- Last Synced: 2024-05-01T21:10:18.851Z (8 months ago)
- Language: Shell
- Size: 186 KB
- Stars: 24
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
docker-grafana-influxdb-cloudwatch
==================================Derived from [kamon-io/docker-grafana-influxdb][1],
this image contains a sensible default configuration of InfluxDB and Grafana but also:* Is based on [phusion/baseimage](http://phusion.github.io/baseimage-docker/) instead of stock
Ubuntu
* Bundles [cloudwatch-to-graphite](https://github.com/crccheck/cloudwatch-to-graphite), run via
cron, for fetching metrics from AWS CloudWatch
* Enables InfluxDB's Graphite input pluginSee the introductory blog post [All-in-one Docker with Grafana, InfluxDB, and cloudwatch-to-graphite for AWS/Beanstalk monitoring](https://theholyjava.wordpress.com/2015/05/07/all-in-one-docker-with-grafana-influxdb-and-cloudwatch-to-graphite-for-awsbeanstalk-monitoring/) for more details.
### Configuration
For InfluxDB and Grafana, see [docker-grafana-influxdb][1].
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`](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.[1]: https://github.com/kamon-io/docker-grafana-influxdb