Skip to content

Commit

Permalink
alias func bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardZaydler committed Jul 30, 2024
1 parent 7266f9f commit 7265312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/ui/module/codemirror-metricsql/src/types/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
Acos,
Acosh,
AggrOverTime,
Alias,
AscentOverTime,
Asin,
Asinh,
Expand Down Expand Up @@ -905,7 +906,7 @@ export function getFunction(id: number): PromQLFunction {
}

export function isFunctionBypassed(id: number): boolean {
return id === HistogramQuantiles ||
return id === Alias || id === HistogramQuantiles ||
id === Integrate ||
id === Interpolate ||
id === KeepLastValue ||
Expand Down

0 comments on commit 7265312

Please sign in to comment.