Metrics
The metrics object allows you to query information about metrics.
Arguments
When querying for metrics
, the following arguments are available. Note that if you do not include a runId, it will default to the most recent run of the specified job:
Fetching data...
Below we show some illustrative example queries and outline the schema (all possible fields you can query) of this metrics object.
Example Queries
Metrics information
The example query returns information about all metrics in this job.
{
metrics(jobId: 123) {
uniqueId
name
packageName
tags
label
runId
description
type
sql
timestamp
timeGrains
dimensions
meta
resourceType
filters {
field
operator
value
}
model {
name
}
}
}
Fields
metrics has access to the same fields as the metric node. The difference is that metrics can output a list, so instead of querying for fields for one specific metric, you can query for those parameters for all metrics in a run.
When querying for metrics
, the following fields are available:
Fetching data...
0