In the JS SIG we are adding the ability to create a Resource with labels specified by environment variable. This was a feature in OpenCensus, but it is currently unspecified for OpenTelemetry.
While porting this functionality over, we have kept the same value format, but changed the environment variable name from OC_RESOURCE_LABELS to OTEL_RESOURCE_LABELS.
I'm opening this issue as a point of discussion so that we can standardize this behavior between projects.
In the Java repo, we converted it to OTEL_RESOURCE_ATTRIBUTES, so yes, some consistency would be great. :)
Consistency not just in the name but in behavior would be nice.
Related: #505.
from the spec sig mtg today, talked about this and assigned to @james-bebbington . will this be part of the oteps-111 work?
from the spec sig mtg today, talked about this and assigned to @james-bebbington . will this be part of the oteps-111 work?
Yes it should be. I will write up a spec for this shortly
This issue appears to be addressed. @james-bebbington @mwear can we close it?
This was addressed in #811. We've standardized on OTEL_RESOURCE_ATTRIBUTES. I'll close this.
Most helpful comment
Consistency not just in the name but in behavior would be nice.