/ student-intifada / node_modules / @opentelemetry / otlp-transformer /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]build/a year ago -  
[DIR]node_modules/a year ago -  
[   ]LICENSEa year ago 11K 
[TXT]README.mda year ago2.1K595aea1 more query options + view options [كارل مبارك]
[   ]package.jsona year ago2.9Kafd0ccc remove unused [كارل مبارك]
README.md

OpenTelemetry Protocol

NPM Published Version Apache License

Note: This package is intended for internal use only.

Note: This is an experimental package under active development. New releases may include breaking changes.

This package provides everything needed to serialize OpenTelemetry SDK traces, metrics and logs into the OpenTelemetry Protocol format.

Quick Start

To get started you will need to install a compatible OpenTelemetry API.

Install Peer Dependencies

npm install @opentelemetry/api

Serialize Traces/Metrics/Logs

This module exports functions to serialize traces, metrics and logs from the OpenTelemetry SDK into protocol buffers which can be sent over HTTP to the OpenTelemetry collector or a compatible receiver.

import {
  createExportTraceServiceRequest,
  createExportMetricsServiceRequest,
  createExportLogsServiceRequest,
} from '@opentelemetry/otlp-transformer';

const serializedSpans = createExportTraceServiceRequest(readableSpans);
const serializedMetrics = createExportMetricsServiceRequest(readableMetrics);
const serializedLogs = createExportLogsServiceRequest(readableLogRecords);

License

Apache 2.0 - See LICENSE for more information.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80