Module: Datadog::ForcedTracing
- Defined in:
- lib/ddtrace/forced_tracing.rb
Overview
Defines analytics behavior
Defined Under Namespace
Modules: Span
Class Method Summary collapse
Class Method Details
.drop(span) ⇒ Object
13 14 15 16 |
# File 'lib/ddtrace/forced_tracing.rb', line 13 def drop(span) return if span.nil? || span.context.nil? span.context.sampling_priority = Datadog::Ext::Priority::USER_REJECT end |