Sha256: 0218498f57332e8368d2ce8d3fd63f3eb1b327e441ca98f805dffefe6189ea88

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  module SDK
    module Trace
      # The Export module contains the built-in exporters for the OpenTelemetry
      # reference implementation.
      module Export
        # Result codes for the SpanExporter#export method.

        # The export operation finished successfully.
        SUCCESS = 0

        # The export operation finished with an error, but retrying may
        # succeed.
        FAILED_RETRYABLE = 1

        # The export operation finished with an error, the caller should not
        # try to export the same data again.
        FAILED_NOT_RETRYABLE = 2
      end
    end
  end
end

require 'opentelemetry/sdk/trace/export/batch_span_processor'
require 'opentelemetry/sdk/trace/export/console_span_exporter'
require 'opentelemetry/sdk/trace/export/in_memory_span_exporter'
require 'opentelemetry/sdk/trace/export/multi_span_exporter'
require 'opentelemetry/sdk/trace/export/noop_span_exporter'
require 'opentelemetry/sdk/trace/export/simple_span_processor'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opentelemetry-sdk-0.4.0 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-0.3.0 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-0.2.0 lib/opentelemetry/sdk/trace/export.rb