validate
command does not validate pipeline type
#8007
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Good issue for contributors to OpenTelemetry Service to pick up
Describe the bug
Thew
validate
command intoduced in #7835 does not validate the type of pipeline a component is assigned to. For example, if a metrics-only component is used in a logs pipeline, validation passes, but I would expect it to fail.Steps to reproduce
validate
command:What did you expect to see?
Validation fails
What did you see instead?
Validation succeeds
What version did you use?
v0.80.0
What config did you use?
Environment
OS: Ubuntu 23.04 lunar
Additional context
Currently, there is no documentation describing to what extent the validation works. I believe it's reasonable for the user to assume the pipeline types would be validated. I understand that what the
validate
command does under the hood is just runValidate()
on the config object.The text was updated successfully, but these errors were encountered: