OpenTelemetry API v0.5.0 OpenTelemetry.UpdownSumObserver

require OpenTelemetry.UpdownSumObserver

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

Link to this section Summary

Functions

See :otel_updown_sum_observer.definition/2.

See :otel_updown_sum_observer.observe/3.

Link to this section Functions

Link to this function

definition(name, opts)

See :otel_updown_sum_observer.definition/2.

Link to this macro

new(name, opts \\ %{})

(macro)
Link to this function

observe(observer_result, number, label_set)

See :otel_updown_sum_observer.observe/3.

Link to this macro

set_callback(observer, callback)

(macro)