[8.14](backport #4811) Add Resource Detection processor to OTel mode#4979
Merged
michalpristas merged 5 commits into8.14from Jun 21, 2024
Merged
[8.14](backport #4811) Add Resource Detection processor to OTel mode#4979michalpristas merged 5 commits into8.14from
michalpristas merged 5 commits into8.14from
Conversation
* Add Resource Detection processor to OTel mode * go mod tidy * make notice For some reason the `go.sum` file contains an update to the dependency `github.com/pascaldekloe/goe`, and go-licence-detector cannot detect the license, which is CC0-1.0. I have added an override for the package and also added CC0-1.0 to allowed licenses. * mage otel:readme * Add changelog entry * update `elastic-agent-autodiscover` to `v0.7.0` * make notice * go mod tidy * mage update * make notice --------- Co-authored-by: Michal Pristas <michal.pristas@gmail.com> (cherry picked from commit a5a4a3b) # Conflicts: # NOTICE.txt # go.mod # go.sum # internal/pkg/otel/README.md # internal/pkg/otel/components.go # internal/pkg/otel/testdata/all-components.yml
Contributor
Author
|
Cherry-pick of a5a4a3b has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
This was referenced Jun 21, 2024
Contributor
|
depends on #4981 |
Contributor
Author
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
michalpristas
approved these changes
Jun 21, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




What does this PR do?
This PR makes the Resource Detection processor available to users running Elastic Agent in
otelmode.Why is it important?
This allows users to enrich the collected telemetry with metadata of the infrastructure, e.g.
host.name,os.type,cloud.provider,cloud.region,k8s.cluster.nameand many more.Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
No impact expected.
How to test this PR locally
build/distributionsThis is an automatic backport of pull request Add Resource Detection processor to OTel mode #4811 done by Mergify.