Results 154 comments of Ziqi Zhao

Could you provide the logs of your collector?

> @fatsheep9146 can you break this into 2 PR, one for the function add and one to the transform processor? It'd be nice to do it all in one PR...

The integration test seems unrelated to this pr @TylerHelmuth

> > For this particular use case we could instead update replace_all_patterns to take a new parameter (string or enum) that specifies whether the function applies to keys or values...

Please help review this again =D @TylerHelmuth

@mx-psi please assign this to me :)

@mx-psi I have checked all component, for `gocritic` only two components are still not resolved, others can all be checked - [x] exporter/datadogexporter: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/12988 - [x] receiver/awscontainerinsightreceiver: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/12325

IIUC, for now, we should design a new function which could change the key's name that matches the regex expression dynamically, such as `replace_all_key_patterns` ? @TylerHelmuth

> Yes a new function could do it. It would be very similar to `replace_all_patterns`. I'd love to try this, could you assign to me? @TylerHelmuth