Sha256: b2bc6e1d3d1be33688c4450614ed8b9e137159bb0b1e14bca6612f7e7e66ef13

Contents?: true

Size: 825 Bytes

Versions: 4

Compression:

Stored size: 825 Bytes

Contents

# frozen_string_literal: true

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

# OpenTelemetry is an open source observability framework, providing a
# general-purpose API, SDK, and related tools required for the instrumentation
# of cloud-native software, frameworks, and libraries.
#
# The OpenTelemetry module provides global accessors for telemetry objects.
# See the documentation for the `opentelemetry-api` gem for details.
require_relative './instrumentation/registry'

module OpenTelemetry
  # Instrumentation should be able to handle the case when the library is not installed on a user's system.
  module Instrumentation
    extend self
    # @return [Registry] registry containing all known
    #  instrumentation
    def registry
      @registry ||= Registry.new
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opentelemetry-registry-0.3.1 lib/opentelemetry/instrumentation.rb
opentelemetry-registry-0.3.0 lib/opentelemetry/instrumentation.rb
opentelemetry-registry-0.2.0 lib/opentelemetry/instrumentation.rb
opentelemetry-registry-0.1.0 lib/opentelemetry/instrumentation.rb