Commit 357a155d by Calen Pennington

fixup! Extract task and play timing functions out into their own classes

parent 91cce0ee
...@@ -69,7 +69,7 @@ class DatadogFormatter(object): ...@@ -69,7 +69,7 @@ class DatadogFormatter(object):
except Exception as ex: except Exception as ex:
logger.error(ex.message) logger.error(ex.message)
def log_play(self, playbook_name, duration): def log_play(self, playbook_name, duration, task_count):
if self.datadog_api_initialized: if self.datadog_api_initialized:
try: try:
datadog.api.Metric.send( datadog.api.Metric.send(
......
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