OpenTelemetry Base Scope Manager
This package provides the ScopeManager interface (which is used by concrete implementations) and a no-op implementation (which is used internally when no scope propagation is defined). It's intended for use both on the server and in the browser.
What is a Scope Manager ?
ScopeManager's aim to offer exactly that, it's API offer to store an object in the current scope (
with()) and if needed,
bind() to a specific function call to find it back when the callback fire, which can later get retrieved using
This package only include the interface and a Noop implementation, for more information please see the async-hooks based ScopeManager for NodeJS.
Note: You will sometimes read about context management, which is sometimes also used for talking about scope management. However in OpenTelemetry, context was already heavily used as a concept in the Trace API so we named this package with scope to avoid confusion.
- For more information on OpenTelemetry, visit: https://opentelemetry.io/
- For help or feedback on this project, join us on gitter
Apache 2.0 - See LICENSE for more information.