From 4cf7e0370f08bf560b27f06772b6f56f99f33213 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 9 Aug 2022 12:54:32 -0600 Subject: [PATCH] fix reader configuration type spec --- apps/opentelemetry_experimental/src/otel_metric_reader.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opentelemetry_experimental/src/otel_metric_reader.erl b/apps/opentelemetry_experimental/src/otel_metric_reader.erl index 7f853e4c..598aca70 100644 --- a/apps/opentelemetry_experimental/src/otel_metric_reader.erl +++ b/apps/opentelemetry_experimental/src/otel_metric_reader.erl @@ -49,7 +49,7 @@ metrics_tab :: ets:tid() }). --spec start_monitor(module(), otel_configuration:t()) -> {ok, {pid(), reference()}} | ignore | {error, term()}. +-spec start_monitor(module(), map()) -> {ok, {pid(), reference()}} | ignore | {error, term()}. start_monitor(ReaderModule, Config) -> gen_server:start_monitor(ReaderModule, Config, []).