class OpenTelemetry::Instrument::Counter
- OpenTelemetry::Instrument::Counter
- OpenTelemetry::Instrument
- Reference
- Object
Defined in:
opentelemetry-api/instrument/counter.crConstructors
Instance Method Summary
Instance methods inherited from class OpenTelemetry::Instrument
attributes : Hash(String, AnyAttribute)
attributes,
attributes=(attributes : Hash(String, AnyAttribute))
attributes=,
description : String
description,
key_name : String
key_name,
kind : String
kind,
labels : Hash(String, String)
labels,
labels=(labels : Hash(String, String))
labels=,
name : String
name,
unit : String
unit
Constructor methods inherited from class OpenTelemetry::Instrument
new(name : String, kind : String, unit : String = "", description : String = "")
new
Constructor Detail
Instance Method Detail
def add(value : Int::Unsigned | Float, attributes : Hash(String, ValueTypes) | Nil = nil, labels : Hash(String, String) | Nil = nil)
#