documentation:'Calculate the average over dimensions',
},
{
label:'stddev',
insertText:'stddev',
documentation:'Calculate population standard deviation over dimensions',
},
{
label:'stdvar',
insertText:'stdvar',
documentation:'Calculate population standard variance over dimensions',
},
{
label:'count',
insertText:'count',
documentation:'Count number of elements in the vector',
},
{
label:'bottomk',
insertText:'bottomk',
documentation:'Smallest k elements by sample value',
},
{
label:'topk',
insertText:'topk',
documentation:'Largest k elements by sample value',
},
];
exportconstRANGE_VEC_FUNCTIONS=[
{
insertText:'count_over_time',
label:'count_over_time',
detail:'count_over_time(range-vector)',
documentation:'The count of all values in the specified interval.',
},
{
insertText:'rate',
label:'rate',
detail:'rate(v range-vector)',
documentation:
"Calculates the per-second average rate of increase of the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for. Also, the calculation extrapolates to the ends of the time range, allowing for missed scrapes or imperfect alignment of scrape cycles with the range's time period.",