Module otel_metric_accumulator

The Accumulator receives metric updates and when collect is called it sweeps through the instruments calling checkpoint with the define aggregator for each and submitting to the Integrator.

Behaviours: gen_server.

Description

The Accumulator receives metric updates and when collect is called it sweeps through the instruments calling checkpoint with the define aggregator for each and submitting to the Integrator.

Function Index

active_table/0
collect/0
handle_call/3
handle_cast/2
init/1
lookup_active/2
observe/3
record/2
record/3
start_link/1

Function Details

active_table/0

active_table() -> any()

collect/0

collect() -> any()

handle_call/3

handle_call(Msg, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

init/1

init(Opts) -> any()

lookup_active/2

lookup_active(Instrument::instrument() | otel_meter:name(), LabelSet::otel_meter:labels()) -> {otel_meter:number_kind(), module()} | unknown_instrument

observe/3

observe(Instrument, Number, LabelSet) -> any()

record/2

record(Active_instrument::otel_meter:bound_instrument(), Number::number()) -> boolean()

record/3

record(Name::otel_meter:name(), LabelSet::otel_meter:labels(), Number::number()) -> boolean() | unknown_instrument

start_link/1

start_link(Opts) -> any()


Generated by EDoc