Skip to content

Commit

Permalink
backport fix to ignore trailing args in aliasByMetric(), refs graphit…
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscurity committed Aug 24, 2014
1 parent 0194e91 commit 7fc74b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/graphite/render/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def aliasByMetric(requestContext, seriesList):
"""
for series in seriesList:
series.name = series.name.split('.')[-1]
series.name = series.name.split('.')[-1].split(',')[0]
return seriesList

def legendValue(requestContext, seriesList, *valueTypes):
Expand Down

0 comments on commit 7fc74b8

Please sign in to comment.