class Datadog::Sampling::Matcher

Checks if a span conforms to a matching criteria.

Public Instance Methods

match?(span) click to toggle source

Returns `true` if the span should conforms to this rule, `false` otherwise

@abstract @param [Span] span @return [Boolean]

# File lib/ddtrace/sampling/matcher.rb, line 10
def match?(span)
  raise NotImplementedError
end