fix(prom): missing callback attribute
This commit is contained in:
parent
947a08d1d2
commit
497ec04359
|
@ -90,8 +90,6 @@
|
||||||
|
|
||||||
-define(HTTP_OPTIONS, [{autoredirect, true}, {timeout, 60000}]).
|
-define(HTTP_OPTIONS, [{autoredirect, true}, {timeout, 60000}]).
|
||||||
|
|
||||||
-define(LOGICAL_SUM_METRIC_NAMES, []).
|
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% APIs
|
%% APIs
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
@ -280,7 +278,7 @@ aggre_or_zip_init_acc() ->
|
||||||
}.
|
}.
|
||||||
|
|
||||||
logic_sum_metrics() ->
|
logic_sum_metrics() ->
|
||||||
?LOGICAL_SUM_METRIC_NAMES.
|
[].
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% Collector
|
%% Collector
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
-callback aggre_or_zip_init_acc() -> map().
|
-callback aggre_or_zip_init_acc() -> map().
|
||||||
|
|
||||||
|
-callback logic_sum_metrics() -> list().
|
||||||
|
|
||||||
-define(MG(K, MAP), maps:get(K, MAP)).
|
-define(MG(K, MAP), maps:get(K, MAP)).
|
||||||
-define(PG0(K, PROPLISTS), proplists:get_value(K, PROPLISTS, 0)).
|
-define(PG0(K, PROPLISTS), proplists:get_value(K, PROPLISTS, 0)).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue