[exporter/awsxrayexporter] validate
command fails because it tries to check even an execution environment
#40450
Labels
validate
command fails because it tries to check even an execution environment
#40450
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
exporter/awsxray
What happened?
Description
When upgrading OpenTelemetry Collector from v0.119.0 to v0.127.0, config file validation started failing.
During validation, awsxray exporter seems to try to fetch AWS environment information (such as environment variables, ec2 metadata, ...) though the validation runs on my computer.
Is this behavior, where it tries to validate an execution environment, a bug?
I believe that validate command is intended for validating the config file itself and should not check the execution environment, as it's most often run on local machines or in CI environments.
Steps to Reproduce
Expected Result
No output. Validation would succeed as did on v0.119.0.
Actual Result
Collector version
v0.127.0
Environment information
Environment
OS: Docker on macOS
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: