API Reference

Span Exporter

class opentelemetry_ext_newrelic.span.NewRelicSpanExporter(*args, **kwargs)[source]

Bases: opentelemetry.sdk.trace.export.SpanExporter

export(spans: Sequence[opentelemetry.sdk.trace.Span])opentelemetry.sdk.trace.export.SpanExportResult[source]

Exports a batch of telemetry data.

Args:

spans: The list of opentelemetry.trace.Span objects to be exported

Returns:

The result of the export