Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@opentelemetry/scope-async-hooks
Advanced tools
This package provides async-hooks based scope manager which is used internally by OpenTelemetry plugins to propagate specific scope between function calls and async operations. It only targets NodeJS since async-hooks is only available there.
The definition and why they exist is available on the readme of the scope-base package.
NodeJS has a specific API to track async scope: async-hooks, it allows to track creation of new async operation and their respective parent. This package only handle storing a specific object for a given async hooks context.
Even if the API is native to NodeJS, it doesn't cover all possible cases of scope propagation but there is a big effort from the NodeJS team to fix those. That's why we generally advise to be on the latest LTS to benefit from performance and bug fixes.
There are known modules that break scope propagation (some of them are listed there), so it's possible that the scope manager doesn't work with them.
Context propagation is a big subject when talking about tracing in NodeJS, if you want more informations about that here are some resources:
Apache 2.0 - See LICENSE for more information.
0.3.0
Released 2019-12-13
opentelemetry-core
, opentelemetry-node
, opentelemetry-plugin-dns
, opentelemetry-plugin-document-load
, opentelemetry-plugin-grpc
, opentelemetry-plugin-postgres
, opentelemetry-plugin-redis
, opentelemetry-tracing
, opentelemetry-types
opentelemetry-plugin-document-load
opentelemetry-plugin-http
, opentelemetry-plugin-https
opentelemetry-core
, opentelemetry-metrics
, opentelemetry-types
opentelemetry-metrics
opentelemetry-core
, opentelemetry-plugin-document-load
, opentelemetry-tracing
, opentelemetry-web
opentelemetry-exporter-jaeger
opentelemetry-plugin-dns
opentelemetry-plugin-http
opentelemetry-shim-opentracing
main
in package.jsonopentelemetry-exporter-zipkin
opentelemetry-plugin-grpc
opentelemetry-core
opentelemetry-plugin-mongodb-core
opentelemetry-metrics
opentelemetry-plugin-redis
opentelemetry-exporter-prometheus
opentelemetry-types
opentelemetry-plugin-postgres
opentelemetry-core
, opentelemetry-exporter-collector
opentelemetry-node
, opentelemetry-plugin-mysql
opentelemetry-plugin-redis
opentelemetry-plugin-mongodb-core
opentelemetry-exporter-prometheus
opentelemetry-metrics
opentelemetry-scope-zone-peer-dep
, opentelemetry-scope-zone
, opentelemetry-web
opentelemetry-core
, opentelemetry-plugin-document-load
opentelemetry-core
, opentelemetry-metrics
, opentelemetry-types
opentelemetry-metrics
, opentelemetry-types
FAQs
OpenTelemetry AsyncHooks-based Scope Manager
The npm package @opentelemetry/scope-async-hooks receives a total of 13 weekly downloads. As such, @opentelemetry/scope-async-hooks popularity was classified as not popular.
We found that @opentelemetry/scope-async-hooks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.