diff --git a/CHANGELOG.md b/CHANGELOG.md index a4c13c5d97b7..bc5ead8d09e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,11 @@ Main (unreleased) - [GO-2023-2412](https://github.com/advisories/GHSA-7ww5-4wqc-m92c) - [CVE-2023-49568](https://github.com/advisories/GHSA-mw99-9chc-xw7r) +### Features + +- Add a `otelcol.processor.resourcedetection` component which inserts resource attributes + to OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev) + ### Enhancements - Add an option to the windows static mode installer for expanding environment vars in the yaml config. (@erikbaranowski) diff --git a/component/all/all.go b/component/all/all.go index b404f27ad4eb..468c8c7adc1e 100644 --- a/component/all/all.go +++ b/component/all/all.go @@ -81,6 +81,7 @@ import ( _ "github.com/grafana/agent/component/otelcol/processor/k8sattributes" // Import otelcol.processor.k8sattributes _ "github.com/grafana/agent/component/otelcol/processor/memorylimiter" // Import otelcol.processor.memory_limiter _ "github.com/grafana/agent/component/otelcol/processor/probabilistic_sampler" // Import otelcol.processor.probabilistic_sampler + _ "github.com/grafana/agent/component/otelcol/processor/resourcedetection" // Import otelcol.processor.resourcedetection _ "github.com/grafana/agent/component/otelcol/processor/span" // Import otelcol.processor.span _ "github.com/grafana/agent/component/otelcol/processor/tail_sampling" // Import otelcol.processor.tail_sampling _ "github.com/grafana/agent/component/otelcol/processor/transform" // Import otelcol.processor.transform