Comment TraceLevelInfoFilter as it breaks OTel compatibility #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TraceLevelInfoFilter
isn't used - its only use was ingubernator/daemon.go
Line 116 in e054be3
This PR unblocks consumers of gubernator who also use the latest OTel libraries (version 0.52), as the type
otelgrpc.Filter
changed in open-telemetry/opentelemetry-go-contrib#5196 ). See change here. The code I commented is now invalid with latest versions of OTel, which prevents consumers of OTel libraries to upgrade them if they also use gubernator. Building gubernator with the latest OTel libraries fails with:Allegedly this could now be fixed with the merge of the above PR (and the code in daemon.go could be uncommented), but it requires a larger change.
I am opening this PR to unblock users of OTel and gubernator as it is the most pressing issue.
Commenting feels a bit weird (I did it because of the commented code in daemon.go), let me know if you want to address this differently.