
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@oracle/trace-propagator
Advanced tools
Utility for building headers for various formats of tracing propagation
This utility will construct the various trace propagation formats. All you need to do is give it a valid traceId
and spanId
.
Install the package:
npm i --save @oracle/trace-propagator
To use it in your code:
import { constructPropagation } from '@oracle/trace-propagator';
let promise = fetch(url, {
headers: constructPropagation({ traceId, spanId })
});
Or if you have your own headers already, such as auth:
import { constructPropagation } from '@oracle/trace-propagator';
let promise = fetch(url, {
headers: {
Authentication: 'secret',
...constructPropagation({ traceId, spanId })
}
});
Open a GitHub issue for bug reports, questions, or requests for enhancements.
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.
Please consult the security guide for our responsible security vulnerability disclosure process.
Copyright (c) 2021 Oracle and/or its affiliates. Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.
FAQs
Utility for building headers for various formats of tracing propagation
We found that @oracle/trace-propagator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 32 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.