forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processor/resourcedetection] Remove unnecessary resource attributes …
…from the Consul detector. (open-telemetry#30727) This PR removes several attributes which must have been added by mistake. The [docs](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor#consul) don't mention them, and the [Detect](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/internal/consul/consul.go#L66) function doesn't use them.
- Loading branch information
Showing
6 changed files
with
12 additions
and
201 deletions.
There are no files selected for viewing
34 changes: 3 additions & 31 deletions
34
processor/resourcedetectionprocessor/internal/consul/internal/metadata/generated_config.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
26 changes: 6 additions & 20 deletions
26
...sor/resourcedetectionprocessor/internal/consul/internal/metadata/generated_config_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
processor/resourcedetectionprocessor/internal/consul/internal/metadata/generated_resource.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 3 additions & 45 deletions
48
...r/resourcedetectionprocessor/internal/consul/internal/metadata/generated_resource_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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