Currently, we add a taint of event.module: elastic/opentelemetry-lib to all the remapped metrics. This allows us to identify the remapped metrics. We should also add a similar taint to the ScopeMetrics attribute passed as input to the remappers. This will allow us to prevent the metrics from being double-processed.
Currently, we add a taint of
event.module: elastic/opentelemetry-lib
to all the remapped metrics. This allows us to identify the remapped metrics. We should also add a similar taint to theScopeMetrics
attribute passed as input to the remappers. This will allow us to prevent the metrics from being double-processed.