Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZStriker19 committed Oct 3, 2024
1 parent 424b9b5 commit eac9753
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/datadog/tracing/sampling/matcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ def match?(trace)
def tags_match?(trace)
@tags.all? do |name, matcher|
tag = trace.get_tag(name)
puts "tag: #{tag}"
puts "tag.truncate: #{tag&.truncate}"
puts tag&.truncate != tag
puts "matcher: #{matcher}"
puts 'hello'
puts matcher != MATCH_ALL

# Floats: Matching floating point values with a non-zero decimal part is not supported.
# For floating point values with a non-zero decimal part, any all * pattern always returns true.
# Other patterns always return false.
Expand Down

0 comments on commit eac9753

Please sign in to comment.