Replies: 1 comment 8 replies
-
I think the "looks for a substring matching the given pattern" is going to be more useful, especially since the hostname may not be known at compile time. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just discovered that
RuleBasedRoutingSampler
usesMatcher.find
method to decide if given span attribute matches rule's pattern, as opposed toMatcher.matches()
. The difference is that the former "looks for a substring matching given pattern" and the latter "matches whole input sequence". E.g.For some reason I was under impression from the discussion of #70 that we wanted to have a behaviour of
matches
, not that of thefinds
. Although I feel thatfinds
is more user friendly. Should we change it or not?@anuraaga @jkwatson
Beta Was this translation helpful? Give feedback.
All reactions