OtelBridge.Exporter (otel_bridge v0.1.2)

Copy Markdown View Source

OTLP metrics exporter used by OtelBridge profiles.

This module centralizes exporter initialization, transport handling, and shutdown logic for profile-defined metric readers.

It is responsible for:

  • combining explicit exporter options with standard OTLP environment variables
  • initializing the underlying OTLP exporter state
  • exporting metric payloads over HTTP protobuf or gRPC
  • shutting down exporter-owned resources

Summary

Functions

Exports metric payloads through the configured OTLP transport.

Initializes exporter state from explicit options plus standard OTLP environment variables.

Shuts down any exporter-owned network resources.

Functions

export(metrics, resource, state)

export(arg1, metrics, resource, state)

Exports metric payloads through the configured OTLP transport.

init(opts)

Initializes exporter state from explicit options plus standard OTLP environment variables.

shutdown(arg1)

Shuts down any exporter-owned network resources.