Metrics in ECS with several traefi instances

Hi. I have 3 traefik instances in AWS ECS, all configured the same, we use 3 instances to use the redundancy of the availability zones. It works, the trafic is being rerouted as it should.

I have enabled metrics in the traefik container with the vendor format datadog and they are pushed to a sidecar cloudwatch-agent that then publish them in cloudwatch.

The problem is that I have noticed that only a singular set of metrics is publish, as apparently the metrics of the 3 instances "collide" as they share all dimensions. That means that if I receive 100 requests the metric traefik_service_requests_total will only show around 33% of the actual value.

I can see that using open telemetry there is a resourceAttributes that enables additional dimensions in the metrics and it even says that when using kubernetes it fills that dimensions with pod ids and what not.

The question is then. Is there a way to add any identifier to each traefik instance so that metrics can have the corresponding id in the dimensions so they all can be published?
Am I missing something obvious how does everyone handle metrics with multiple instances.