**Description**


It would be great if the metrics we publish in Airflow change to include TAGs for "variable" parts of those (such as dag_id, task_id, pool name) rather than being part of the metrics.

See here: https://airflow.apache.org/docs/1.10.12/metrics.html, https://airflow.readthedocs.io/en/latest/logging-monitoring/metrics.html  - those variable parts should be tags.

We might consider to change those metrics by default in 2.0 and possibly introduce a backport in 1.10.13 to allow people to migrate.


**Use case / motivation**

Having the variable parts of the metrics makes it really difficult to aggregate the metrics. Seems that statsd python library does not support tags, but there are possible solutions by installing extensions:

https://stackoverflow.com/questions/49852654/sending-statsd-metrics-with-tags-from-python-client

**Related Issues**

<!-- Is there currently another issue associated with this? -->

log.info("Frobbing the foos took %.2f", t.duration)
    """
    
    
    _start_time: int | None
    duration: int | None
    def __init__(self, real_timer=None):
        self.real_timer = real_timer
    def __enter__(self):
        return self.start()
    def __exit__(self, exc_type, exc_value, traceback):
        self.stop()
    def start(self):
        """Start the timer."""
        if self.real_timer:
            self.real_timer.start()
        self._start_time = time.perf_counter()
        return self
    def stop(self, send=True):
        """Stop the timer, and optionally send it to stats backend."""
        self.duration = time.perf_counter() - self._start_time
        if send and self.real_timer:
            self.real_timer.stop()
class DummyStatsLogger:
    """If no StatsLogger is configured, DummyStatsLogger is used as a fallback."""
    @classmethod
    def incr(cls, stat, count=1, rate=1, tags=None):
        """Increment stat."""
    @classmethod
    def decr(cls, stat, count=1, rate=1, tags=None):