Class: Datadog::Sampling::Matcher
- Inherits:
-
Object
- Object
- Datadog::Sampling::Matcher
- Defined in:
- lib/ddtrace/sampling/matcher.rb
Overview
Checks if a span conforms to a matching criteria.
Direct Known Subclasses
Instance Method Summary collapse
-
#match?(span) ⇒ Boolean
abstract
Returns
true
if the span should conforms to this rule,false
otherwise.
Instance Method Details
#match?(span) ⇒ Boolean
This method is abstract.
Returns true
if the span should conforms to this rule, false
otherwise
11 12 13 |
# File 'lib/ddtrace/sampling/matcher.rb', line 11 def match?(span) raise NotImplementedError end |