Skip to content

Commit

Permalink
[query] Add Graphite aliasByTags function (#2626)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddywahle authored Sep 14, 2020
1 parent d3cd566 commit e66e016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/query/graphite/native/builtin_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,7 @@ func init() {

// alias functions - in alpha ordering
MustRegisterAliasedFunction("abs", absolute)
MustRegisterAliasedFunction("aliasByTags", aliasByNode)
MustRegisterAliasedFunction("avg", averageSeries)
MustRegisterAliasedFunction("log", logarithm)
MustRegisterAliasedFunction("max", maxSeries)
Expand Down
1 change: 1 addition & 0 deletions src/query/graphite/native/builtin_functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3048,6 +3048,7 @@ func TestFunctionsRegistered(t *testing.T) {
"alias",
"aliasByMetric",
"aliasByNode",
"aliasByTags",
"aliasSub",
"asPercent",
"averageAbove",
Expand Down

0 comments on commit e66e016

Please sign in to comment.