fix(UI): autocomplete for first_over_time and ts_of_first_over_time

Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
pull/18318/head
Linas Medziunas 3 days ago
parent fc1c60d9eb
commit 4a400dc3df
  1. 14
      web/ui/module/codemirror-promql/src/complete/promql.terms.ts

@ -317,10 +317,16 @@ export const functionIdentifierTerms = [
info: 'Join together label values into new label',
type: 'function',
},
{
label: 'first_over_time',
detail: 'function',
info: 'Return the value of the oldest sample in the specified interval',
type: 'function',
},
{
label: 'last_over_time',
detail: 'function',
info: 'The most recent point value in specified interval.',
info: 'Return the value of the most recent sample in the specified interval',
type: 'function',
},
{
@ -371,6 +377,12 @@ export const functionIdentifierTerms = [
info: 'Return the timestamp of the minimum value over time for input series',
type: 'function',
},
{
label: 'ts_of_first_over_time',
detail: 'function',
info: 'Return the timestamp of the first value over time for input series',
type: 'function',
},
{
label: 'ts_of_last_over_time',
detail: 'function',

Loading…
Cancel
Save