0.48.0-dev2 • Published 1 year ago

@jgibo/otlp-exporter-base v0.48.0-dev2

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

OpenTelemetry Collector Exporter for web and node

Fork Changes

This is a fork of the upstream. The fork adds fetch support into exporter-trace-otlp-http and supporting packages. The fork repo is https://github.com/jgibo/opentelemetry-js, branch service-worker-support. The changes were originally authored by https://github.com/sugi in his fork https://github.com/sugi/opentelemetry-js.

Fetch support is automatically detected by the exporter, and chosen if xhr and beacon are not availeable in the environment (which is the case in a service worker), no changes are required to application code.

Note, the most recent merge of upstream main into service-worker-support branch was on Feb 11 2024, so this change is likely missing a few updates that have been released to the upstream since then.

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 module provides a base exporter for web and node to be used with opentelemetry-collector.

Installation

npm install --save @opentelemetry/otlp-exporter-base

GRPC

For GRPC please check npm-url-grpc

PROTOBUF

For PROTOBUF please check npm-url-proto

Useful links

License

Apache 2.0 - See LICENSE for more information.