Sha256: e12d71e1b4b2b0d861ea73505f13e8b3afc2c17ce40c79eebc4153399b35bdc5
Contents?: true
Size: 560 Bytes
Versions: 5
Compression:
Stored size: 560 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module Resource module Detectors # AutoDetector contains detect class method for running all detectors module AutoDetector extend self DETECTORS = [ OpenTelemetry::Resource::Detectors::Azure, OpenTelemetry::Resource::Detectors::GoogleCloudPlatform ].freeze def detect DETECTORS.map(&:detect).reduce(:merge) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems