Skip to main content

PermitechOTLPExporter

OpenTelemetry OTLP span exporter preconfigured for Permitech platform integration. This exporter extends the standard OTLPSpanExporter with Permitech-specific configuration and authentication. For most applications, consider using PermitechSpanProcessor instead, which provides a complete tracing solution.

export

Override export to set resource attributes from span attributes before serialization.

PermitechSpanProcessor

Complete OpenTelemetry span processor with integrated Permitech export functionality. This processor combines span processing and export capabilities into a single component that can be directly attached to any OpenTelemetry TracerProvider. It handles the complete lifecycle of spans from creation to export to Permitech. Examples

exporter

Access to the underlying Permitech OTLP exporter instance.

force_flush

Force immediate export of all pending spans with specified timeout.

on_end

Handle span completion events by delegating to the underlying processor.

on_start

Handle span start events by delegating to the underlying processor.

processor

Access to the underlying OpenTelemetry span processor instance.

shutdown

Gracefully shutdown the processor and flush any remaining spans.

add_permitech_span_processor

Add the Permitech span processor to the tracer provider.