Sha256: f5d69f9fc0bcd7a9c02a813720a70f22bd387c17400d0db2475d19ab5026aaee

Contents?: true

Size: 1.16 KB

Versions: 11

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  module SDK
    module Trace
      # The Export module contains the built-in exporters and span processors for the OpenTelemetry
      # reference implementation.
      module Export
        ExportError = Class.new(OpenTelemetry::Error)

        # Result codes for the SpanExporter#export method and the SpanProcessor#force_flush and SpanProcessor#shutdown methods.

        # The operation finished successfully.
        SUCCESS = 0

        # The operation finished with an error.
        FAILURE = 1

        # Additional result code for the SpanProcessor#force_flush and SpanProcessor#shutdown methods.

        # The operation timed out.
        TIMEOUT = 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/metrics_reporter'
require 'opentelemetry/sdk/trace/export/span_exporter'
require 'opentelemetry/sdk/trace/export/simple_span_processor'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
opentelemetry-sdk-1.3.2 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.3.1 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.3.0 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.2.1 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.2.0 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.1.0 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.0.3 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.0.2 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.0.1 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.0.0 lib/opentelemetry/sdk/trace/export.rb
opentelemetry-sdk-1.0.0.rc3 lib/opentelemetry/sdk/trace/export.rb