elastic / opentelemetry-lib

Apache License 2.0
0 stars 6 forks source link

Move the resource attribute parsing logic for process scraper to ElasticSearchExporter #33

Open ishleenk17 opened 3 days ago

ishleenk17 commented 3 days ago

Currently the resource attributes for the process are handled in the otel-lib here. https://github.com/elastic/opentelemetry-lib/blob/main/remappers/hostmetrics/process.go#L262

This logic should be moved to the ElasticSearchExporter code since all the resource attributes will be handled in the exporter.