Sha256: 56c168c994965d30bb23268cf00fb5f5c2da8aeae02a267b8b5f43216f83e3e3

Contents?: true

Size: 661 Bytes

Versions: 5

Compression:

Stored size: 661 Bytes

Contents

# frozen_string_literal: true

# Copyright 2019 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.
          NOT_RECORD = :__not_record__

          # Decision to record events and not sample.
          RECORD = :__record__

          # Decision to record events and sample.
          RECORD_AND_SAMPLED = :__record_and_sampled__
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opentelemetry-sdk-0.6.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.5.1 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.5.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.4.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.3.0 lib/opentelemetry/sdk/trace/samplers/decision.rb