Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/exporter-trace-otlp-proto

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-trace-otlp-proto

OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP

  • 0.56.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.1M
decreased by-9.83%
Maintainers
3
Weekly downloads
 
Created

What is @opentelemetry/exporter-trace-otlp-proto?

The @opentelemetry/exporter-trace-otlp-proto npm package is designed for exporting telemetry data, specifically traces, in the OTLP (OpenTelemetry Protocol) format using Protocol Buffers (protobuf). It is part of the OpenTelemetry JavaScript project, which provides tools for observability and monitoring through tracing, metrics, and logs.

What are @opentelemetry/exporter-trace-otlp-proto's main functionalities?

Exporting Traces

This feature allows the user to export trace data to a backend that supports OTLP over gRPC. The code sample initializes an OTLPTraceExporter with a specified endpoint and insecure credentials, then adds it to a tracer provider.

const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-proto');
const exporter = new OTLPTraceExporter({
  url: 'http://localhost:4317',
  credentials: grpc.credentials.createInsecure()
});
tracerProvider.addSpanProcessor(new BatchSpanProcessor(exporter));

Other packages similar to @opentelemetry/exporter-trace-otlp-proto

Keywords

FAQs

Package last updated on 04 Dec 2024

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