Class: Datadog::Tracing::Sampling::Matcher Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/tracing/sampling/matcher.rb

Overview

This class is abstract.

Checks if a trace conforms to a matching criteria.

Direct Known Subclasses

ProcMatcher, SimpleMatcher

Instance Method Summary collapse

Instance Method Details

#match?(trace) ⇒ Boolean

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

Parameters:

Returns:

  • (Boolean)


14
15
16
# File 'lib/datadog/tracing/sampling/matcher.rb', line 14

def match?(trace)
  raise NotImplementedError
end