-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[doc][filter processor] #18865
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@edwintye thanks for pointing this out. Its true that the linked change had some side effects. Are you planning to submit a PR for this issue? If so, I'll assign it to you. |
@TylerHelmuth Thanks for response. Is it just to improve the readme? If so I can do that. I can write a couple of test too although I am not sure how much benefit they will provide now that the change already happened :) |
@edwintye Updating the README is what we need. |
yea sure, I will find the time in the next couple of days. |
Closing issue with PR merged. |
Component(s)
processor/filter
What happened?
Description
We created a config that followed the examples on the README.md and it started failing on release
v0.71.0
. The issue seems to be due to the upstream change open-telemetry/opentelemetry-collector#6876 which means that keys are now case sensitive. The examples on theREADME.md
however has (multiple) blocks likewhere
Key
andValue
should bekey
andvalue
instead. The use ofKey/Value
also differs from the test configs under/testdata
.Steps to Reproduce
We don't need to use a full otel config to test, we can simply adjust the test data to have the incorrect key, i.e. in
processor/filterprocessor/testdata/config_traces.yaml
changekey
andvalue
toKey
andValue
then run the testwhich will fail. Running the same test on tag
v0.70.0
passes.Expected Result
The tests passes - or maybe fail depending on your POV but I feel like this is an unintended breaking change.
Actual Result
The tests fails with output
Collector version
v0.71.0
Environment information
N/A
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
I don't know how wild spread this issue is and how many people copy the examples from the README.md. I have discovered in the filter processor because it broke our deployment but this issue may apply everywhere.
The text was updated successfully, but these errors were encountered: