Sha256: 438cb73c32b00df0c8b5879c8be06070caf8127a4cebb0a2ff776ea3b0347b81

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  module Trace
    # Hints to influence sampling decisions. The default option for span
    # creation is to not provide any suggestion.
    module SamplingHint
      # Suggest to not record events and not sample.
      NOT_RECORD = :__not_record__

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opentelemetry-api-0.2.0 lib/opentelemetry/trace/sampling_hint.rb