Export Query Metrics

Export query metrics to a given destination. Returns query metrics.

Input Parameter Description

NameTypeDescription
optionsmap of string to strings

Optional parameters.

The default value is an empty map ( {} ).

Supported Parameters (keys)Parameter Description
expressionFilter for multi query export.
filepathPath to export target specified as a filename or existing directory.
format

Specifies which format to export the metrics.

The default value is json.

Supported ValuesDescription
jsonGeneric JSON output.
json_trace_eventChromium/Perfetto trace event format.
job_idExport query metrics for the currently running job.
limitRecord limit per file for multi query export.

Output Parameter Description

NameTypeDescription
infomap of string to strings

Additional information.

The default value is an empty map ( {} ).

Supported Parameters (keys)Parameter Description
exported_filesComma separated list of filenames exported if applicable.
outputExported metrics if no other destination specified.