Commit c77d8ac7 by arbabnazar Committed by Edward Zarecor

send the date_happened to the data dog

parent c904e13b
......@@ -67,7 +67,8 @@ class CallbackModule(object):
for name, points in results:
datadog.api.Metric.send(
metric="edx.ansible.{0}.task_duration".format(name.replace(" | ", ".").replace(" ", "-").lower()),
points=points,
date_happened=[0],
points=points[1],
)
# Log the time of each task
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment