@opentelemetry/otlp-exporter-base
OpenTelemetry OTLP Exporter base (for internal use only)
Last updated 22 days ago by GitHub Actions .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @opentelemetry/otlp-exporter-base 
SYNC missed versions from official npm registry.

OpenTelemetry Collector Exporter for web and node

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 base components for OTLP Exporters, both Web and Node.js.

Installation

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

HTTP exporter configuration

HTTP JSON and HTTP/protobuf exporters for traces, metrics, and logs share these configuration options. Node.js exporters accept OTLPExporterNodeConfigBase, exported from @opentelemetry/otlp-exporter-base/node-http, which also includes the options from OTLPExporterConfigBase. Configuration precedence is: programmatic options, then per-signal environment variables, then general environment variables, then built-in defaults.

Option Type Default Description
url string undefined (default resolved per precedence above) Collector endpoint URL.
headers Record<string, string> \| HeadersFactory undefined Custom HTTP headers. A factory function may be async and must not throw. Exporters still apply required transport headers.
concurrencyLimit number 30 Maximum number of in-flight export requests.
timeoutMillis number 10000 Maximum time, in milliseconds, to wait for each batch export.
compression CompressionAlgorithm.NONE \| CompressionAlgorithm.GZIP CompressionAlgorithm.NONE Compression for outgoing OTLP HTTP requests in Node.js.
keepAlive boolean true Sets keepAlive on the Node.js HTTP or HTTPS agent created by the exporter. A keepAlive value in httpAgentOptions takes precedence.
httpAgentOptions http.AgentOptions \| https.AgentOptions \| HttpAgentFactory Agent options with keepAlive: true Custom Node.js HTTP or HTTPS agent options, or a factory function that receives the request protocol and returns an agent.
userAgent string The exporter's default user agent Prefix to add to the exporter's default User-Agent header in Node.js.
Option General environment variable Signal-specific environment variables
url OTEL_EXPORTER_OTLP_ENDPOINT OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, OTEL_EXPORTER_OTLP_METRICS_ENDPOINT, OTEL_EXPORTER_OTLP_LOGS_ENDPOINT
headers OTEL_EXPORTER_OTLP_HEADERS OTEL_EXPORTER_OTLP_TRACES_HEADERS, OTEL_EXPORTER_OTLP_METRICS_HEADERS, OTEL_EXPORTER_OTLP_LOGS_HEADERS
timeoutMillis OTEL_EXPORTER_OTLP_TIMEOUT OTEL_EXPORTER_OTLP_TRACES_TIMEOUT, OTEL_EXPORTER_OTLP_METRICS_TIMEOUT, OTEL_EXPORTER_OTLP_LOGS_TIMEOUT
compression OTEL_EXPORTER_OTLP_COMPRESSION OTEL_EXPORTER_OTLP_TRACES_COMPRESSION, OTEL_EXPORTER_OTLP_METRICS_COMPRESSION, OTEL_EXPORTER_OTLP_LOGS_COMPRESSION
concurrencyLimit Not supported Not supported
keepAlive Not supported Not supported
httpAgentOptions.ca OTEL_EXPORTER_OTLP_CERTIFICATE OTEL_EXPORTER_OTLP_{TRACES,METRICS,LOGS}_CERTIFICATE
httpAgentOptions.cert OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE OTEL_EXPORTER_OTLP_{TRACES,METRICS,LOGS}_CLIENT_CERTIFICATE
httpAgentOptions.key OTEL_EXPORTER_OTLP_CLIENT_KEY OTEL_EXPORTER_OTLP_{TRACES,METRICS,LOGS}_CLIENT_KEY
userAgent Not supported Not supported

GRPC

For GRPC please check npm-url-grpc

Useful links

License

Apache 2.0 - See LICENSE for more information.

Current Tags

  • 0.300.0-rc.0                                ...           canary (a month ago)
  • 0.301.0                                ...           latest (22 days ago)
  • 0.34.0                                ...           next (4 years ago)

79 Versions

  • 0.301.0                                ...           22 days ago
  • 0.300.0                                ...           a month ago
  • 0.300.0-rc.0                                ...           a month ago
  • 0.223.0                                ...           2 months ago
  • 0.300.0-development.1                                ...           2 months ago
  • 0.300.0-development.0                                ...           2 months ago
  • 0.222.0                                ...           3 months ago
  • 0.222.0-development.0                                ...           3 months ago
  • 0.221.0                                ...           4 months ago
  • 0.220.0                                ...           5 months ago
  • 0.219.0                                ...           6 months ago
  • 0.218.0                                ...           6 months ago
  • 0.217.0                                ...           7 months ago
  • 0.216.0                                ...           7 months ago
  • 0.215.0                                ...           7 months ago
  • 0.214.0                                ...           8 months ago
  • 0.213.0                                ...           9 months ago
  • 0.212.0                                ...           9 months ago
  • 0.211.0                                ...           10 months ago
  • 0.210.0                                ...           10 months ago
  • 0.209.0                                ...           a year ago
  • 0.208.0                                ...           a year ago
  • 0.207.0                                ...           a year ago
  • 0.206.0                                ...           a year ago
  • 0.205.0                                ...           a year ago
  • 0.204.0                                ...           a year ago
  • 0.203.0                                ...           a year ago
  • 0.202.0                                ...           a year ago
  • 0.201.1                                ...           2 years ago
  • 0.201.0                                ...           2 years ago
  • 0.200.0                                ...           2 years ago
  • 0.200.0-rc.1                                ...           2 years ago
  • 0.200.0-dev.1                                ...           2 years ago
  • 0.200.0-dev.0                                ...           2 years ago
  • 0.57.2                                ...           2 years ago
  • 0.57.1                                ...           2 years ago
  • 0.57.0                                ...           2 years ago
  • 0.56.0                                ...           2 years ago
  • 0.55.0                                ...           2 years ago
  • 0.54.2                                ...           2 years ago
  • 0.54.1                                ...           2 years ago
  • 0.54.0                                ...           2 years ago
  • 0.53.0                                ...           2 years ago
  • 0.52.1                                ...           2 years ago
  • 0.52.0                                ...           2 years ago
  • 0.51.1                                ...           3 years ago
  • 0.51.0                                ...           3 years ago
  • 0.50.0                                ...           3 years ago
  • 0.49.1                                ...           3 years ago
  • 0.49.0                                ...           3 years ago
  • 0.48.0                                ...           3 years ago
  • 0.47.0                                ...           3 years ago
  • 0.46.0                                ...           3 years ago
  • 0.45.1                                ...           3 years ago
  • 0.45.0                                ...           3 years ago
  • 0.44.0                                ...           3 years ago
  • 0.43.0                                ...           3 years ago
  • 0.42.0                                ...           3 years ago
  • 0.41.2                                ...           3 years ago
  • 0.41.1                                ...           3 years ago
  • 0.41.0                                ...           3 years ago
  • 0.40.0                                ...           3 years ago
  • 0.39.1                                ...           4 years ago
  • 0.39.0                                ...           4 years ago
  • 0.38.0                                ...           4 years ago
  • 0.37.0                                ...           4 years ago
  • 0.36.1                                ...           4 years ago
  • 0.36.0                                ...           4 years ago
  • 0.35.1                                ...           4 years ago
  • 0.35.0                                ...           4 years ago
  • 0.34.0                                ...           4 years ago
  • 0.33.0                                ...           4 years ago
  • 0.32.0                                ...           4 years ago
  • 0.31.0                                ...           4 years ago
  • 0.30.0                                ...           4 years ago
  • 0.29.2                                ...           4 years ago
  • 0.29.1                                ...           4 years ago
  • 0.29.0                                ...           5 years ago
  • 0.28.0                                ...           5 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE