OpenTelemetry API v0.5.0 OpenTelemetry.Counter

require OpenTelemetry.Counter

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

OpenTelemetry.Counter.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_counter.definition/2.

Link to this function

measurement(name_or_instrument, number)

See :otel_counter.measurement/2.

Link to this macro

new(name, opts \\ %{})

(macro)