Class: Datadog::AllSampler

Inherits:
Sampler
  • Object
show all
Defined in:
lib/ddtrace/sampler.rb

Overview

AllSampler samples all the traces.

Instance Method Summary collapse

Instance Method Details

#sample(span) ⇒ Object



11
12
13
# File 'lib/ddtrace/sampler.rb', line 11

def sample(span)
  span.sampled = true
end