OpenTelemetry API v0.5.0 OpenTelemetry.SumObserver

require OpenTelemetry.SumObserver

OpenTelemetry.SumObserver.set_callback("some.counter", &OpenTelemetry.SumObserver.observe(&1, 33, []))

Link to this section Summary

Link to this section Functions

Link to this function

definition(name, opts)

See :otel_sum_observer.definition/2.

Link to this macro

new(name, opts \\ %{})

(macro)
Link to this function

observe(observer_result, number, label_set)

See :otel_sum_observer.observe/3.

Link to this macro

set_callback(observer, callback)

(macro)