Skip to content

Commit

Permalink
add missing debug tags for internal mysql run_explain metric (#13003)
Browse files Browse the repository at this point in the history
These debug tags are expected to be present for all internal integration performance metrics. They were missing from this specific metric only.
  • Loading branch information
djova authored and steveny91 committed Oct 27, 2022
1 parent cba1c53 commit ff5f088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql/datadog_checks/mysql/statement_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def _explain_statement(self, cursor, statement, schema, obfuscated_statement, qu
self._check.histogram(
"dd.mysql.run_explain.time",
(time.time() - start_time) * 1000,
tags=self._tags + ["strategy:{}".format(strategy)],
tags=self._tags + ["strategy:{}".format(strategy)] + self._check._get_debug_tags(),
hostname=self._check.resolved_hostname,
)
return plan, None
Expand Down

0 comments on commit ff5f088

Please sign in to comment.