otel_resource_detector behaviour (opentelemetry v1.0.0-rc.3) View Source
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().
Link to this section Summary
Link to this section Callbacks
Specs
get_resource(term()) -> otel_resource:t().