How to use the opentelemetry-sdk.src.opentelemetry.sdk.trace.export.__init__.SpanExportResult.SUCCESS function in opentelemetry-sdk

To help you get started, we’ve selected a few opentelemetry-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github open-telemetry / opentelemetry-python / opentelemetry-sdk / src / opentelemetry / sdk / trace / export / __init__.py View on Github external
def export(self, spans: typing.Sequence[Span]) -> SpanExportResult:
        for span in spans:
            print(span)
        return SpanExportResult.SUCCESS

opentelemetry-sdk

OpenTelemetry Python SDK

Apache-2.0
Latest version published 1 day ago

Package Health Score

97 / 100
Full package analysis