elastic / opentelemetry-lib

Apache License 2.0
0 stars 6 forks source link

Introduce an interface to translate hostmetrics and add tests #2

Closed lahsivjar closed 1 month ago

lahsivjar commented 1 month ago

Hostmetrics remappers remap metrics produced by hostmetricsreceiver to Elastic system metrics. This allows powering Elastic's curated UIs based on OTel metrics.

The code from the remappers is adopted from the PoC done here.

lahsivjar commented 1 month ago

Putting this PR on draft after talking with @ishleenk17. Once https://github.com/elastic/opentelemetry-lib/pull/4 is merged I will rebase the PR and update the code.

lahsivjar commented 1 month ago

Apologies for the force push, I have updated the PR after the original code for the remappers was merged. It is ready for review now.