ashb commented on code in PR #43340:
URL: https://github.com/apache/airflow/pull/43340#discussion_r1842219961


##########
airflow/metrics/datadog_logger.py:
##########
@@ -66,109 +96,95 @@ def __init__(
         self.metrics_tags = metrics_tags
         self.metric_tags_validator = metric_tags_validator
 
+    @prepare_stat_with_tags
     @validate_stat
     def incr(
         self,
-        stat: str,
+        metric_name: str,
         count: int = 1,
         rate: float = 1,
         *,
-        tags: dict[str, str] | None = None,
+        tags: list[str] | None = None,

Review Comment:
   I'm more worried about type completion, but I guess if nothing is 
complaining this is fine.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to