Optional
direction
The order for which stats are returned in. Valid values are 'backwards'
which orders stats from most recent to oldest, or 'forwards'
which orders stats from oldest to most recent. The default is 'backwards'
.
'backwards'
Optional
end
The time until stats are retrieved, specified as milliseconds since the Unix epoch.
The current time.
Optional
limit
An upper limit on the number of stats returned. The default is 100, and the maximum is 1000.
100
Optional
start
The time from which stats are retrieved, specified as milliseconds since the Unix epoch.
The Unix epoch.
Optional
unit
Based on the unit selected, the given start
or end
times are rounded down to the start of the relevant interval depending on the unit granularity of the query.
StatsIntervalGranularity.MINUTE
Generated using TypeDoc
The
StatsParams
interface describes the parameters accepted by the following methods: