Skip to content

Commit 17e1843

Browse files
Update apps/opentelemetry/src/otel_resource_detector.erl
Co-authored-by: Tristan Sloughter <[email protected]>
1 parent f1256b1 commit 17e1843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/opentelemetry/src/otel_resource_detector.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
handle_event/4]).
4141

4242
-callback get_resource(term()) -> otel_resource:t().
43-
%% Should return a resource identified by the given term. For example,
44-
%% the term could be the name of an environment variable.
43+
%% Function that takes the configuration of a resource detector
44+
%% and returns a resource.
4545

4646
-type detector() :: module() | {module(), term()}.
4747

0 commit comments

Comments
 (0)