Sign inSign up

exositebot/cloudwatch-agent

By exositebot

•Updated over 7 years ago

dockerized cloudwatch agent

Image
0

2.1K

exositebot/cloudwatch-agent repository overview

⁠Cloud Watch Agent

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.

⁠Local Development

  1. Prepare config.json for cwagent, including which port cwagent is going to listen and which AWS region.

docker build -t cloudwatch_agent .
docker run

⁠Integrate with Murano Core

  1. Add varible in env.yml:

    • cwagent_namespace: CloudWatch metric name, default MuranoStatsd
    • cwagent_metrics_aggregation_interval: How long should cwagent aggregate the metrics
    • cwagent_metrics_collection_interval: How long should cwagent send metrics to CloudWatch
    • cwagent_statsd_port: CloudWatch agent listen port, default is 8125, same as statsd
  2. Important! 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

Tag summary

Content type

Image

Digest

Size

106.8 MB

Last updated

over 7 years ago

docker pull exositebot/cloudwatch-agent