0.51.1 • Published 1 day ago

@opentelemetry/otlp-transformer v0.51.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 day ago

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);

Useful links

License

Apache 2.0 - See LICENSE for more information.

0.51.1

1 day ago

0.51.0

14 days ago

0.50.0

1 month ago

0.49.1

2 months ago

0.49.0

2 months ago

0.48.0

3 months ago

0.47.0

4 months ago

0.46.0

5 months ago

0.42.0

8 months ago

0.41.1

10 months ago

0.43.0

8 months ago

0.41.2

9 months ago

0.41.0

10 months ago

0.45.1

6 months ago

0.44.0

7 months ago

0.45.0

6 months ago

0.40.0

11 months ago

0.39.1

12 months ago

0.39.0

12 months ago

0.38.0

1 year ago

0.37.0

1 year ago

0.36.1

1 year ago

0.36.0

1 year ago

0.35.1

1 year ago

0.35.0

1 year ago

0.34.0

1 year ago

0.33.0

2 years ago

0.32.0

2 years ago

0.31.0

2 years ago

0.30.0

2 years ago

0.29.2

2 years ago

0.29.1

2 years ago

0.29.0

2 years ago