Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@opentelemetry/otlp-transformer
Advanced tools
NOTE: This package is intended for internal use only.
This package provides everything needed to serialize OpenTelemetry SDK traces and metrics into the OpenTelemetry Protocol format.
To get started you will need to install a compatible OpenTelemetry API.
npm install @opentelemetry/api
This module exports functions to serialize traces and metrics from the OpenTelemetry SDK into protocol buffers which can be sent over HTTP to the OpenTelemetry collector or a compatible receiver.
import { createExportTraceServiceRequest, createExportMetricsServiceRequest } from "@opentelemetry/otlp-transformer";
const serializedSpans = createExportTraceServiceRequest(readableSpans);
const serializedMetrics = createExportMetricsServiceRequest(readableMetrics);
Apache 2.0 - See LICENSE for more information.
FAQs
Transform OpenTelemetry SDK data into OTLP
The npm package @opentelemetry/otlp-transformer receives a total of 2,155,738 weekly downloads. As such, @opentelemetry/otlp-transformer popularity was classified as popular.
We found that @opentelemetry/otlp-transformer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.