Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit d5c4228

Browse files
committed
asPercent safe again
1 parent 635a4bb commit d5c4228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expr/funcs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func init() {
5757
"aliasByTags": {NewAliasByNode, true},
5858
"aliasByNode": {NewAliasByNode, true},
5959
"aliasSub": {NewAliasSub, true},
60-
"asPercent": {NewAsPercent, false}, // disabled because it needs an update for runtime normalization and possibly MDP/pre-normalization
60+
"asPercent": {NewAsPercent, true},
6161
"avg": {NewAggregateConstructor("average", crossSeriesAvg), true},
6262
"averageAbove": {NewFilterSeriesConstructor("average", ">"), true},
6363
"averageBelow": {NewFilterSeriesConstructor("average", "<="), true},

0 commit comments

Comments
 (0)