OpenTelemetry Collector configuration
I'm using multiple instances of Traefik as the reverse proxy in the system and since v3 Traefik can export metrics and traces directly to otel - awesome! However, they don't add labels with container-id or other identifying info, resulting in all instances reporting for the exact same timeseries, which doesn't work well.
They don't allow specifying own labels. However, they do allow specifying custom http headers that will be set when sending the data to otel collector.
My question: Is it possible, inside otel collector, to transform these http headers - the http headers on the request that traefik sends to otel collector to report the metrics - into attributes / labels?