Current section
Files
Jump to
Current section
Files
src/otel_aggregation_drop.erl
-module(otel_aggregation_drop).
-behaviour(otel_aggregation).
-export([init/2,
aggregate/4,
checkpoint/5,
collect/5]).
-include("otel_metrics.hrl").
-type t() :: #drop_aggregation{}.
-export_type([t/0]).
init(_, _) ->
#drop_aggregation{}.
aggregate(_, _, _, _) ->
true.
checkpoint(_, _, _, _, _) ->
ok.
collect(_, _, _, _, _) ->
[].