prefect.telemetry
run_telemetry
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:
start_span
traceparent_from_span
end_span_on_success
End a span for a run on success.
end_span_on_failure
End a span for a run on failure.
record_exception
Record an exception on a span.
update_state
Update a span with the state of a run.
update_run_name
Update the name of the run.