Skip to content

Commit

Permalink
Renaming OTEL_RESOURCE_LABELS env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten committed Aug 6, 2020
1 parent 799c178 commit 5a45eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/resource/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// the Detect function to generate a Resource from the merged information.
//
// To load a user defined Resource from the environment variable
// OTEL_RESOURCE_LABELS the FromEnv Detector can be used. It will interpret
// OTEL_RESOURCE_ATTRIBUTES the FromEnv Detector can be used. It will interpret
// the value as a list of comma delimited key/value pairs
// (e.g. `<key1>=<value1>,<key2>=<value2>,...`).
package resource
2 changes: 1 addition & 1 deletion sdk/resource/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

// envVar is the environment variable name OpenTelemetry Resource information can be assigned to.
const envVar = "OTEL_RESOURCE_LABELS"
const envVar = "OTEL_RESOURCE_ATTRIBUTES"

var (
//errMissingValue is returned when a resource value is missing.
Expand Down

0 comments on commit 5a45eb5

Please sign in to comment.