Skip to main content

GalileoOTLPExporter

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

GalileoSpanProcessor

Complete OpenTelemetry span processor with integrated Galileo 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 Galileo. Usage Example:
processor = GalileoSpanProcessor(project=“my-project”) tracer_provider.add_span_processor(processor)

exporter

def exporter(self) -> GalileoOTLPExporter
Access to the underlying Galileo OTLP exporter instance.

force_flush

def force_flush(self, timeout_millis: int=40000) -> None
Force immediate export of all pending spans with specified timeout.

on_end

def on_end(self, span: Span) -> None
Handle span completion events by delegating to the underlying processor.

on_start

def on_start(self,
             span: Span,
             parent_context: Optional[context.Context]=None) -> None
Handle span start events by delegating to the underlying processor.

processor

def processor(self) -> SpanProcessor
Access to the underlying OpenTelemetry span processor instance.

shutdown

def shutdown(self) -> None
Gracefully shutdown the processor and flush any remaining spans.