handler for sending metrics to datadog