diff --git a/mysql/datadog_checks/mysql/statements.py b/mysql/datadog_checks/mysql/statements.py index c8a49e18c71f8..64cb8416b176e 100644 --- a/mysql/datadog_checks/mysql/statements.py +++ b/mysql/datadog_checks/mysql/statements.py @@ -116,11 +116,11 @@ def _close_db_conn(self): self._db = None def run_job(self): - start = time() + start = time.time() self.collect_per_statement_metrics() self._check.gauge( "dd.mysql.statement_metrics.elapsed_ms", - time() - start, + time.time() - start, tags=self._check.tags + self._check._get_debug_tags(), hostname=self._check.resolved_hostname, )