Build APIbldr
MetricsTransformOptions
Row selection + aggregation, mirroring the GetBuildMetrics query.
interface in bldr
Row selection + aggregation, mirroring the GetBuildMetrics query.
Properties
addTags: Record<string, string>
property
Extra tags stamped on every output row.
agg: "sum" | "avg" | "min" | "max" | "count" | "last"
property
Aggregation op over the selection.
fields: string[]
property
Keep only these fields (a row left with none is dropped).
groupBy: string[]
property
Tag keys to group by when aggregating.
measurement: string
property
Keep only rows of this measurement.
tags: Record<string, string>
property
Tag equality matchers, all must hold.