Skip to content

Commit

Permalink
Fix time
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsamuel committed Dec 26, 2024
1 parent 1cf651f commit cbcf5ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql/datadog_checks/mysql/statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit cbcf5ba

Please sign in to comment.