Sha256: 6a1252dda624b517ed6366096362d8761e12aed9aa89caa47b9b24d5f57d21d9

Contents?: true

Size: 657 Bytes

Versions: 4

Compression:

Stored size: 657 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.
          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

4 entries across 4 versions & 1 rubygems

Version Path
opentelemetry-sdk-0.10.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.9.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.8.0 lib/opentelemetry/sdk/trace/samplers/decision.rb
opentelemetry-sdk-0.7.0 lib/opentelemetry/sdk/trace/samplers/decision.rb