Sha256: fb8a146cbc4515cc5e7fb725aa6b9ab373e5c413583134bfb5db99376c4432bb

Contents?: true

Size: 536 Bytes

Versions: 7

Compression:

Stored size: 536 Bytes

Contents

# frozen_string_literal: true

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

require 'opentelemetry'
require 'opentelemetry/instrumentation/registry'
require 'opentelemetry/instrumentation/base'

module OpenTelemetry
  # The instrumentation module contains functionality to register and install
  # instrumentation
  module Instrumentation
    extend self

    # @return [Registry] registry containing all known
    #  instrumentation
    def registry
      @registry ||= Registry.new
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opentelemetry-instrumentation-base-0.20.0 lib/opentelemetry/instrumentation.rb
opentelemetry-instrumentation-base-0.19.0 lib/opentelemetry/instrumentation.rb
opentelemetry-instrumentation-base-0.18.3 lib/opentelemetry/instrumentation.rb
opentelemetry-instrumentation-base-0.18.2 lib/opentelemetry/instrumentation.rb
opentelemetry-instrumentation-base-0.18.1 lib/opentelemetry/instrumentation.rb
opentelemetry-instrumentation-base-0.18.0 lib/opentelemetry/instrumentation.rb
opentelemetry-instrumentation-base-0.17.0 lib/opentelemetry/instrumentation.rb