Sha256: ece286680a720729486c526e1ee4c8dbb5957c983048752d18bd048d194efa30

Contents?: true

Size: 541 Bytes

Versions: 23

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  module Trace
    # No-op implementation of a tracer provider.
    class TracerProvider
      # Returns a {Tracer} instance.
      #
      # @param [optional String] name Instrumentation package name
      # @param [optional String] version Instrumentation package version
      #
      # @return [Tracer]
      def tracer(name = nil, version = nil)
        @tracer ||= Tracer.new
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
opentelemetry-api-1.4.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.3.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.2.5 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.2.4 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.2.3 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.2.2 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.2.1 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.2.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.1.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.0.2 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.0.1 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.0.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.0.0.rc3 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.0.0.rc2 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-1.0.0.rc1 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-0.17.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-0.16.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-0.15.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-0.14.0 lib/opentelemetry/trace/tracer_provider.rb
opentelemetry-api-0.13.0 lib/opentelemetry/trace/tracer_provider.rb