Public | Automated Build

Last pushed: 3 months ago
Short Description
Report ECS Custom metrics
Full Description


Report Custom ECS Metrics to AWS CloudWatch. The idea is to run a container on an ECS instance in a cluster to report
the custom metrics for that cluster.


  • FREQUENCY - how often to report metrics (defaults to 300 seconds if not specified)

Example Docker run

This example runs the metrics collection report scripts ( and
every 60 seconds. The scripts to run are passed in via the -c option. In this case, the two scripts are contained in
the docker image, but there is no reason why more scripts couldn't be mounted into the container and run as well (see
example 2).

Example 1:

docker run -d \
-e "FREQUENCY=60" \
signiant/ecs_custom_metrics \
-c "python /" \
-c "python / --cpu 40 --mem 40 --min-cluster-size 1"

Example 2:

docker run -d \
-e "FREQUENCY=60" \
-v /path/to/ \
signiant/ecs_custom_metrics \
-c "python /" \
-c "/bin/bash /"

Docker Pull Command
Source Repository