View Source otel_resource_app_env (opentelemetry v1.5.0)
Resource detector (otel_resource_detector
) which adds attributes to the Resource
based on the value of resource
in the opentelemetry
application's environment.
For example, if the opentelemetry
application environment has the following configuration under the resource
key:
[{service, #{name => "myservice",
namespace => "mynamespace"}}]
then it results in the Resource
attributes service.name
and service.namespace
set to myservice
and mynamespace"}}]
respectively.
resource_detectors
in the opentelemetry
application environment).