Socket
Socket
Sign inDemoInstall

@opentelemetry/propagator-aws-xray

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/propagator-aws-xray

OpenTelemetry AWS Xray propagator provides context propagation for systems that are using AWS X-Ray format.


Version published
Weekly downloads
666K
decreased by-5.95%
Maintainers
4
Weekly downloads
 
Created

What is @opentelemetry/propagator-aws-xray?

@opentelemetry/propagator-aws-xray is an npm package that provides context propagation for AWS X-Ray within the OpenTelemetry framework. It allows you to propagate trace context in a format compatible with AWS X-Ray, enabling distributed tracing across services that use AWS X-Ray.

What are @opentelemetry/propagator-aws-xray's main functionalities?

AWS X-Ray Trace Context Propagation

This feature allows you to register the AWS X-Ray propagator with the OpenTelemetry Node.js TracerProvider. This enables the propagation of trace context in a format compatible with AWS X-Ray, facilitating distributed tracing across services.

const { NodeTracerProvider } = require('@opentelemetry/node');
const { AwsXRayPropagator } = require('@opentelemetry/propagator-aws-xray');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');

const provider = new NodeTracerProvider();
provider.register({
  propagator: new AwsXRayPropagator(),
});

registerInstrumentations({
  tracerProvider: provider,
});

console.log('AWS X-Ray Propagator registered with OpenTelemetry');

Other packages similar to @opentelemetry/propagator-aws-xray

Keywords

FAQs

Package last updated on 04 Jun 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc