prefect.telemetry.run_telemetry
OTELSetter
set
set(self, carrier: KeyValueLabels, key: str, value: str) -> None
RunTelemetry
start_span
start_span(self, run: FlowOrTaskRun, client: SyncPrefectClient, parameters: dict[str, Any] | None = None) -> Span | None
traceparent_from_span
traceparent_from_span(span: Span) -> str | None
end_span_on_success
end_span_on_success(self) -> None
end_span_on_failure
end_span_on_failure(self, terminal_message: str | None = None) -> None
record_exception
record_exception(self, exc: BaseException) -> None
update_state
update_state(self, new_state: State) -> None
update_run_name
update_run_name(self, name: str) -> None
Was this page helpful?