File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222// the Detect function to generate a Resource from the merged information.
2323//
2424// To load a user defined Resource from the environment variable
25- // OTEL_RESOURCE_LABELS the FromEnv Detector can be used. It will interpret
25+ // OTEL_RESOURCE_ATTRIBUTES the FromEnv Detector can be used. It will interpret
2626// the value as a list of comma delimited key/value pairs
2727// (e.g. `<key1>=<value1>,<key2>=<value2>,...`).
2828package resource
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424)
2525
2626// envVar is the environment variable name OpenTelemetry Resource information can be assigned to.
27- const envVar = "OTEL_RESOURCE_LABELS "
27+ const envVar = "OTEL_RESOURCE_ATTRIBUTES "
2828
2929var (
3030 //errMissingValue is returned when a resource value is missing.
You can’t perform that action at this time.
0 commit comments