SeriesQuery
Defined in: packages/client/src/specs.ts:65
A metric over time, optionally split by one dimension.
Properties
Section titled “Properties”filters?
Section titled “filters?”
optionalfilters?: readonlyFilter[]
Defined in: packages/client/src/specs.ts:76
Up to 10.
groupBy?
Section titled “groupBy?”
optionalgroupBy?:Dimension
Defined in: packages/client/src/specs.ts:73
interval
Section titled “interval”interval:
"day"|"week"|"month"|"minute"|"hour"
Defined in: packages/client/src/specs.ts:72
Minute series cover 2 days at most, hourly series 31.
kind:
"series"
Defined in: packages/client/src/specs.ts:66
limit?
Section titled “limit?”
optionallimit?:number
Defined in: packages/client/src/specs.ts:80
With groupBy: how many of its values to keep, the busiest first. 1 to 20, default 10.
metric
Section titled “metric”metric:
SeriesMetric
Defined in: packages/client/src/specs.ts:67
optionalname?:string
Defined in: packages/client/src/specs.ts:69
For metric: 'custom': the event’s name.
range:
TimeRange
Defined in: packages/client/src/specs.ts:70
optionalstat?:Stat
Defined in: packages/client/src/specs.ts:74
timezone?
Section titled “timezone?”
optionaltimezone?:string
Defined in: packages/client/src/specs.ts:78
IANA name the points are cut in. Default 'UTC'.