Query job logs
query_logs() returns a LogRecords list. Pagination is handled automatically.
timeseverity_numberandseverity_textbodytrace_idandspan_idattributesrunner_attributes
As pandas DataFrame
Useto_pandas() to convert log records to a pandas DataFrame.
Python

Query job spans
query_spans() returns a Spans list. Pagination is handled automatically.
start_timeandend_timedurationtrace_id,span_id, andparent_span_idnamestatus_codeandstatus_messageattributesrunner_attributesevents
As pandas DataFrame
Useto_pandas() to convert spans to a pandas DataFrame.
Python

attributes, runner_attributes, and events stay as Python objects in DataFrame columns. Span DataFrames include a computed duration column.
