Sha256: 058bb077dfbb35ed871b8fd9c5e87de31b8909488e2fabb10383dee82d402f57
Contents?: true
Size: 629 Bytes
Versions: 12
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module Instrumentation module ActiveSupport # The Instrumentation class contains logic to detect and install the ActiveSupport instrumentation class Instrumentation < OpenTelemetry::Instrumentation::Base install do |_config| require_dependencies end present do defined?(::ActiveSupport) end private def require_dependencies require_relative 'span_subscriber' end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems