Search code examples
amazon-web-servicesamazon-cloudwatchdatadog

How can I monitor AWS cloudwatch customized metric on datadog?


I am using datadog for monitoring my services on AWS. On my python application, I use below code to send a data to a metric on Cloudwatch:

aws.put_metric_data(Namespace='Org/Test', MetricData=[{
            'MetricName': 'Failure', 'Value': 1}])

I can see this data on Cloudwatch -> Metric. But I don't know how I can create a monitor on Datadog to listen on this metric.


Solution

  • You need to tell Datadog to pull custom metric. Go to AWS integrations configuration page (Integrations side menu -> Integrations -> Amazon Web Services).

    You will see a list of services to integrate with, custom metrics is the last option on list. Make sure it's ticked. Takes a while for Datadog to actually start pulling the metric.

    enter image description here