OpenTelemetry Python Proto

1.40.0 · active · verified Sat Mar 28

OpenTelemetry is a set of APIs, libraries, agents, and instrumentation to provide observability for applications. Current version is 1.40.0, with releases following a regular cadence for improvements and bug fixes.

Warnings

Install

Imports

Quickstart

A simple example of using NoOpTracer to create a span.

from opentelemetry.proto.tracing import NoOpTracer
tracer = NoOpTracer()
span = tracer.start_span('example')

view raw JSON →