Sha256: fc09c12f1a80ee4992dd2e5d0814a5c1bd3192dceed29c218f4f2b2cd88d8921

Contents?: true

Size: 656 Bytes

Versions: 27

Compression:

Stored size: 656 Bytes

Contents

# frozen_string_literal: true

# Copyright The OpenTelemetry Authors
#
# SPDX-License-Identifier: Apache-2.0

module OpenTelemetry
  module SDK
    module Trace
      module Samplers
        # The Decision module contains a set of constants to be used in the
        # decision part of a sampling {Result}.
        module Decision
          # Decision to not record events and not sample.
          DROP = :__drop__

          # Decision to record events and not sample.
          RECORD_ONLY = :__record_only__

          # Decision to record events and sample.
          RECORD_AND_SAMPLE = :__record_and_sample__
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
opentelemetry-sdk-1.6.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.5.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.4.1 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.4.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.3.2 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.3.1 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.3.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.2.1 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.2.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.1.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.3 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.2 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.1 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.0.rc3 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.0.rc2 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-1.0.0.rc1 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.17.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.16.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.15.0 lib/opentelemetry/sdk/trace/samplers/decision.rb