graveyard / diamond-ecs

Diamond container for collecting ecs disk space metrics and reporting them to influx and signalfx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

diamond-ecs

Diamond container for collecting ecs disk space metrics and reporting them to influx and signalfx

Environment Variables

  • HOSTNAME hostname of the ECS machine this container will run on
  • ENVIRONMENT cluster name/deployment environment
  • GRAPHITE_HOST hostname of the influx database
  • GRAPHITE_PORT port on the influx database where the graphite plugin is running
  • SIGNALFX_TOKEN token for writing to SignalFX

Volumes

  • /:/mnt/host_root:ro This container needs access to the root drive to collect disk space information about it.

Deploying

This is a container we would like to be deployed on all the ECS machines so it is deployed via https://github.com/Clever/ecs-ops.

  1. Make your changes and push to github. Circle will build an image for you.

  2. Use ecs-ops to deploy your changes:

    $ ./ecs-ops omni-start development diamond-ecs
    $ ./ecs-ops omni-start production diamond-ecs
    $ ./ecs-ops omni-start website diamond-ecs
    

About

Diamond container for collecting ecs disk space metrics and reporting them to influx and signalfx

License:MIT License


Languages

Language:Smarty 82.1%Language:Dockerfile 14.1%Language:Shell 3.7%