OpenTelemetry API v0.5.0 OpenTelemetry.UpdownCounter

require OpenTelemetry.UpdownCounter

OpenTelemetry.UpdownCounter.new("some.counter")

OpenTelemetry.UpdownCounter.add("some.counter", -3)

Link to this section Summary

Link to this section Functions

Link to this macro

add(bound_instrument, number)

(macro)
Link to this macro

add(name, number, label_set)

(macro)
Link to this function

definition(name, opts)

See :otel_updown_counter.definition/2.

Link to this function

measurement(name_or_instrument, number)

See :otel_updown_counter.measurement/2.

Link to this macro

new(name, opts \\ %{})

(macro)