otel_resource:t() made from those attributes.
Behaviours: gen_statem.
This module defines the otel_resource_detector behaviour.
Required callback functions: get_resource/1.
Resource detectors are responsible for reading in attributes about
the runtime environment of a node (such as an environment variable or
some metadata endpoint provided by a cloud host) and returning a
otel_resource:t() made from those attributes.
ready state it will reply to get_resource calls with the final
otel_resource:t().
| callback_mode/0 | |
| get_resource/0 | |
| get_resource/1 | |
| handle_event/4 | |
| init/1 | |
| start_link/1 |
callback_mode() -> any()
get_resource() -> any()
get_resource(Timeout) -> any()
handle_event(X1, X2, X3, Data) -> any()
init(X1) -> any()
start_link(Opts) -> any()
Generated by EDoc