Class: Datadog::AllSampler
Overview
AllSampler samples all the traces.
Instance Method Summary collapse
Instance Method Details
#sample!(span) ⇒ Object
23 24 25 |
# File 'lib/ddtrace/sampler.rb', line 23 def sample!(span) span.sampled = true end |
#sample?(span) ⇒ Boolean
19 20 21 |
# File 'lib/ddtrace/sampler.rb', line 19 def sample?(span) true end |