A little bit of python to take your custom dogstatsd metrics and ship them to CloudWatch :)
Just add the plugin code, configure it as a custom_emitter
in DataDog's config then tag your metrics with cloudwatch:emit
.
Edit: Also realized you need to add boto3
to dd-agent
's venv:
sudo /opt/datadog-agent/embedded/bin/pip install boto3
Now your application-level metric can be used to trigger things like AutoScalingRules!