Metrics object schema
The metrics object allows you to query information about metrics.
Arguments
When querying for metrics
, the following arguments are available.
Fetching data...
Below we show some illustrative example queries and outline the schema (all possible fields you can query) of the metrics object.
Example query
The example query returns information about all metrics for the given job.
{
job(id: 123) {
metrics {
uniqueId
name
packageName
tags
label
runId
description
type
sql
timestamp
timeGrains
dimensions
meta
resourceType
filters {
field
operator
value
}
model {
name
}
}
}
}
Fields
The metrics object can access the same fields as the metric node. The difference is that the metrics object 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