Sha256: 379d4e8702760e4b4f589f8c8cdad6485310188846b2c782722e2e74a2b51d63

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 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 and span processors for the OpenTelemetry
      # reference implementation.
      module Export
        # 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/multi_span_exporter'
require 'opentelemetry/sdk/trace/export/noop_span_exporter'
require 'opentelemetry/sdk/trace/export/simple_span_processor'

Version data entries

4 entries across 4 versions & 1 rubygems

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