**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? -->

"""Decrement stat."""
        if self.allow_list_validator.test(stat):
            return self.statsd.decr(stat, count, rate)
        return None
    @validate_stat
    def gauge(self, stat, value, rate=1, delta=False, tags: dict[str, str] | None = None):
        """Gauge stat."""
        if self.allow_list_validator.test(stat):
            return self.statsd.gauge(stat, value, rate, delta)
        return None
    @validate_stat
    def timing(self, stat, dt, tags: dict[str, str] | None = None):
        """Stats timing."""
        if self.allow_list_validator.test(stat):
            return self.statsd.timing(stat, dt)
        return None
    @validate_stat
    def timer(self, stat=None, *args, tags: dict[str, str] | None = None, **kwargs):
        """Timer metric that can be cancelled."""
        if stat and self.allow_list_validator.test(stat):
            return Timer(self.statsd.timer(stat, *args, **kwargs))
        return Timer()
class SafeDogStatsdLogger:
    """DogStatsd Logger."""
    def __init__(self, dogstatsd_client, allow_list_validator=AllowListValidator(), metrics_tags=False):
        self.dogstatsd = dogstatsd_client
        self.allow_list_validator = allow_list_validator
        self.metrics_tags = metrics_tags
    @validate_stat
    def incr(self, stat, count=1, rate=1, tags: dict[str, str] | None = None):