`validate` doesn't work with `glob` provider
Closed this issue · 1 comments
sumo-drosiek commented
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 commented
Fixed in open-telemetry/opentelemetry-collector#10203, which will be included in 0.102.0.