Sha256: 977cac965be74bcb1b2c123ddb535ea99ed66abfc721e164b54de433e0a01f4b
Contents?: true
Size: 699 Bytes
Versions: 6
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module SDK module Metrics module Instrument # {ObservableCounter} is the SDK implementation of {OpenTelemetry::Metrics::ObservableCounter}. class ObservableCounter < OpenTelemetry::Metrics::Instrument::ObservableCounter attr_reader :name, :unit, :description def initialize(name, unit, description, callback, meter) @name = name @unit = unit @description = description @callback = callback @meter = meter end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems