Visibility into S2 usage
active-basins
metric set can be obtained with:
set
specifies the requested metric setstart
and end
timestamps, in Unix epoch seconds
end
timestamp should not be in the future (though some leeway is given to accommodate clock differences)interval
represents a duration for use by metric sets that return timeseries
accumulation
, this specifies the requested bucket length, or the window of time which the relevant value is an aggregation overgauge
, this specifies the unit to divide the start
/end
period into, and the timeseries will reflect a momentary reading at each of these divisions of timescalar
start
and end
period, or an instantaneous value if not.
accumulation
(epoch, value)
tuple represents an aggregation value
for a bucket of time beginning at the epoch
, lasting for the specified bucket_length
.
Buckets within the time period which have no data will be omitted (unlike with GaugeTimeseries
).
gauge
(epoch, value)
tuple represents a momentary reading of a value, at the specified epoch
instance.
Gauge timeseries will contain entries for every interval within the requested time period.
label
start
and end
period, or an instantaneous set if not.