diff --git a/web/ui/module/codemirror-promql/src/complete/promql.terms.ts b/web/ui/module/codemirror-promql/src/complete/promql.terms.ts index 645b507855..7fb89bf062 100644 --- a/web/ui/module/codemirror-promql/src/complete/promql.terms.ts +++ b/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',