Sha256: b9a9a76fba3fe38ffb517cc24845fa414ba037a1984c97e2144618857e06b168
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true # Copyright 2019 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module Metrics # No-op implementation of a meter factory. class MeterFactory # Returns a {Meter} instance. # # @param [optional String] name Instrumentation package name # @param [optional String] version Instrumentation package version # # @return [Meter] def meter(name = nil, version = nil) @meter ||= Meter.new end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opentelemetry-api-0.2.0 | lib/opentelemetry/metrics/meter_factory.rb |