-
Notifications
You must be signed in to change notification settings - Fork 92
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
IN operator #1074
Comments
Hi. We did look at creating Instead of something like this:
A workaround is:
We are considering the possibility of a more flexible rule language, and if that happens we'll definitely look at including an |
Unfortunately regex doesn't work for us. The list is quite long, hundred items. It errored out (OOM in log) when we tried it earlier. |
Interesting. Thank you for following up. To make sure I understand, you are trying to drop traces matching a value in a list of choices? |
We want to keep traces for certain whitelist, but dropping/keeping shouldn't matter here. Only ask is that we can check if a field is in a list. Thank you. |
OK. I've added it to the list of issues for consideration soon. I can't guarantee when but having a real known use case helps. We'll keep this issue updated. |
Currently the operator supports these options:
=
,!=
,>
,<
,>=
,<=
,starts-with
,contains
,does-not-contain
,exists
,not-exists
,has-root-span
,matches
For a high cardinality field, e.g., service name, there's no way we can specify a rule not to sample traces of a list of services. This requires an
in
operator.The text was updated successfully, but these errors were encountered: