tracing-subscriber: can't filter events by field #2108
Unanswered
stevenengler
asked this question in
Q&A
Replies: 1 comment
-
The directive The match expressions Sorry if the documentation is unclear, if you have any suggestions for how we can make this clearer, that would be great. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Report
Version
Platform
Description
This seems like such a simple issue that I'm guessing I must be doing something wrong, but when I follow the documentation it's not working as I'd expect.
The
EnvFilter
documentation says that thefield
should match on events:When I run the following code:
with:
The event is not printed (there is no output) in either case. The
test{abc}
filter doesn't work when theEnvFilter
documentation seems to imply that it should.If instead I run it without the field filter:
The
INFO test: tracing_test: In test fn abc=5
line is printed.Beta Was this translation helpful? Give feedback.
All reactions