Sha256: 381d8a68c66adf4b55fd9b21fabdd7d6f390e50011261730290a7010987f4b75
Contents?: true
Size: 446 Bytes
Versions: 4
Compression:
Stored size: 446 Bytes
Contents
# typed: true require 'datadog/tracing/sampling/sampler' module Datadog module Tracing module Sampling # {Datadog::Tracing::Sampling::AllSampler} samples all the traces. # @public_api class AllSampler < Sampler def sample?(_trace) true end def sample!(trace) trace.sampled = true end def sample_rate(*_) 1.0 end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems