dockerized cloudwatch agent
2.1K
Cloud Watch Agent is an agent provided by AWS that user can collect metrics from EC2 or on-premise machine and export to cloud watch.
Currently, Genie requests to collect statsd metrics from Murano instance and export to cloud watch, so they don't need to set up servers like Grafana or Graphite.
Prepare config.json for cwagent, including which port cwagent is going to listen and which AWS region.
docker build -t cloudwatch_agent .
docker run
Add varible in env.yml:
cwagent_namespace: CloudWatch metric name, default MuranoStatsdcwagent_metrics_aggregation_interval: How long should cwagent aggregate the metricscwagent_metrics_collection_interval: How long should cwagent send metrics to CloudWatchcwagent_statsd_port: CloudWatch agent listen port, default is 8125, same as statsdImportant! Disable statsd service and enable cwagent. This is because they listen to the same port by default. You can change their listen port, however, you need to adjust other service to send to different port
Content type
Image
Digest
Size
106.8 MB
Last updated
over 7 years ago
docker pull exositebot/cloudwatch-agent