Sha256: 80c220e76c8fc5d5b5bcb379064aa8d448c112ba2d3cd6019e1726ae624c1ffd
Contents?: true
Size: 691 Bytes
Versions: 6
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module SDK module Metrics module Instrument # {ObservableGauge} is the SDK implementation of {OpenTelemetry::Metrics::ObservableGauge}. class ObservableGauge < OpenTelemetry::Metrics::Instrument::ObservableGauge 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