Sign inSign up

steemit/telegrafrelay

By steemit

Updated about 8 years ago

a simple relay to put telegraf/statsd metrics in cloudwatch

Image
0

857

steemit/telegrafrelay repository overview

telegrafrelay

A relay to collect metrics (as opposed to logs) and relay them to Amazon CloudWatch. Uses influxdata's telegraf.

Installation

This image is built automatically on Dockerhub as steemit/telegrafrelay so it's as simple as:

$ docker pull steemit/telegrafrelay

If you want to build the image yourself:

$ git clone https://github.com/steemit/telegrafrelay
$ cd telegrafrelay
$ docker build -t telegrafrelay .

Configuration

The Docker build copies the telegraf.conf file in this repository to /etc/telegraf/telegraf.conf. Environment variables you will probably want to set when running the Docker image are:

  • TELEGRAF_CLOUDWATCH_REGION: the name of the AWS region where the CloudWatch metrics will be collected.
  • TELEGRAF_CLOUDWATCH_NAMESPACE: the AWS namespace the Cloudwatch metrics will be placed under.

You'll also need to get valid AWS credentials into the container, whether by IAM or good old-fashioned AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

Tag summary

Content type

Image

Digest

Size

89.1 MB

Last updated

about 8 years ago

docker pull steemit/telegrafrelay