Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate doesn't work with glob provider #1529

Closed
sumo-drosiek opened this issue Apr 8, 2024 · 1 comment
Closed

validate doesn't work with glob provider #1529

sumo-drosiek opened this issue Apr 8, 2024 · 1 comment

Comments

@sumo-drosiek
Copy link
Contributor

glob provider is not supported by validate command

$ ./cmd/otelcol-sumo validate --config "glob:/asd/*"
Error: unsupported scheme on URI "glob:/asd/*"
2024/04/08 13:55:57 collector server run finished with error: unsupported scheme on URI "glob:/asd/*"
$ ./cmd/otelcol-sumo validate --config "file:/asd/*"
Error: failed to get config: cannot resolve the configuration: cannot retrieve the configuration: unable to read the file file:/asd/*: open /asd/*: no such file or directory
2024/04/08 13:56:01 collector server run finished with error: failed to get config: cannot resolve the configuration: cannot retrieve the configuration: unable to read the file file:/asd/*: open /asd/*: no such file or directory
@swiatekm
Copy link

Fixed in open-telemetry/opentelemetry-collector#10203, which will be included in 0.102.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants