Skip to main content

prefect.telemetry.run_telemetry

Classes

OTELSetter

A setter for OpenTelemetry that supports Prefect’s custom labels. Methods:

set

RunTelemetry

A class for managing the telemetry of runs. Methods:

async_start_span

end_span_on_failure

End a span for a run on failure.

end_span_on_success

End a span for a run on success.

record_exception

Record an exception on a span.

start_span

traceparent_from_span

update_run_name

Update the name of the run.

update_state

Update a span with the state of a run.