Skip to content

Commit

Permalink
fix: adjust otel_metric_producer callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergarea authored Jul 15, 2024
1 parent 4510254 commit 667762f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/opentelemetry_experimental/src/otel_metric_producer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
-include("otel_metrics.hrl").
-include_lib("kernel/include/logger.hrl").

-callback init(module(), term()) -> {ok, t()} | ignore.
-callback produce_batch(t()) -> [#metric{}].
-callback init(term()) -> {ok, term()} | ignore.
-callback produce_batch(term()) -> [#metric{}].

-record(producer, {module :: module(),
state :: term()}).
Expand Down

0 comments on commit 667762f

Please sign in to comment.