prefect.telemetry
run_telemetry
A setter for OpenTelemetry that supports Prefect’s custom labels. Methods:
A class for managing the telemetry of runs. Methods:
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
prefect.telemetry.run_telemetryOTELSetter set set(self, carrier: KeyValueLabels, key: str, value: str) -> None
RunTelemetry async_start_span async_start_span(self, run: FlowOrTaskRun, client: PrefectClient, parameters: dict[str, Any] | None = None) -> Span | None
end_span_on_failure end_span_on_failure(self, terminal_message: str | None = None) -> None
end_span_on_success end_span_on_success(self) -> None
record_exception record_exception(self, exc: BaseException) -> None
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
update_run_name update_run_name(self, name: str) -> None
update_state update_state(self, new_state: State) -> None
Was this page helpful?