You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recent change in the specification has added a way to explicitly set the service.name attribute of the Resource via the OTEL_SERVICE_NAME environment variable. This should override any service.name attribute in OTEL_RESOURCE_ATTRIBUTES.
Environment
OS: All
Architecture: All
Go Version: All
opentelemetry-go version: v0.20.0
Steps To Reproduce
Set the environment variable OTEL_SERVICE_NAME to foo
Start an OpenTelemetry enabled process which outputs the Resource attributes.
Expected behavior
The Resource's service.name attribute should be foo rather than unknown_service.
The text was updated successfully, but these errors were encountered:
Description
Recent change in the specification has added a way to explicitly set the
service.name
attribute of theResource
via theOTEL_SERVICE_NAME
environment variable. This should override anyservice.name
attribute inOTEL_RESOURCE_ATTRIBUTES
.Environment
Steps To Reproduce
OTEL_SERVICE_NAME
tofoo
Resource
attributes.Expected behavior
The
Resource
'sservice.name
attribute should befoo
rather thanunknown_service
.The text was updated successfully, but these errors were encountered: