Changed the otel::default_resource function use the Resource's default trait instead of providing a single custom default attributes, which is just a fixed service name.
Why?
This makes the OTLP Exporter respect common env vars such as OTEL_RESOURCE_ATTRIBUTES, see here.
What was changed
Changed the
otel::default_resource
function use the Resource's default trait instead of providing a single custom default attributes, which is just a fixed service name.Why?
This makes the OTLP Exporter respect common env vars such as
OTEL_RESOURCE_ATTRIBUTES
, see here.