KEMBAR78
The ContextStorageProvider system prop and error message differ · Issue #7318 · open-telemetry/opentelemetry-java · GitHub
Skip to content

The ContextStorageProvider system prop and error message differ #7318

@LaurentTreguier

Description

@LaurentTreguier

Inside of context/src/main/java/io/opentelemetry/context/LazyStorage.java, the io.opentelemetry.context.contextStorageProvider system property is checked for providers.
However, in the IllegalStateExceptions thrown further down in the class, error messages mention the io.opentelemetry.context.ContextStorageProvider property instead (with an uppercase "C" for ContextStorageProvider).

I'm a little bit out of my depth here regarding system property naming, so I'm not sure which one is correct and which one is a typo though

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions