Skip to content

SDK: should Resource initialization use env vars only? #99

@fbogsany

Description

@fbogsany

#86 (comment):

In the java SDK the resource is final: https://github.com/open-telemetry/opentelemetry-java/blob/master/sdk/src/main/java/io/opentelemetry/sdk/trace/TracerSdk.java#L50 and assigned as an EnvVarResource, which we don't yet have. We could consider doing the same and turn this into a reader.

Should we allow manual configuration of Resource or should it be entirely automatic based on environment variables, like the Java SDK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions