Sha256: 8568c5ed25151322112b517ed64a697d003815bfa4b6fb9ab5d1eb8a0e2354c0
Contents?: true
Size: 426 Bytes
Versions: 13
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true require_relative 'sampler' module Datadog module Tracing module Sampling # {Datadog::Tracing::Sampling::AllSampler} samples all the traces. 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
13 entries across 13 versions & 1 rubygems