When graphing a metric with a combination of "group by" options, it's not as interesting to keep listing of the metric name. Rather, I often want to use the "group by" name as the label. This supports that.
Usage:
When adding a graph with a "Group By" option, you can change the alias label using the variable "$group_by()"
As an example, if you are graphing the metric of "net.stats" with a group by option of "ifOut", you can put into the alias field "$group_by(ifOut)".
Play around with it. My javascript is...not so great. But, hopefully this is of use to others.
When graphing a metric with a combination of "group by" options, it's not as interesting to keep listing of the metric name. Rather, I often want to use the "group by" name as the label. This supports that.
Usage: When adding a graph with a "Group By" option, you can change the alias label using the variable "$group_by()"
As an example, if you are graphing the metric of "net.stats" with a group by option of "ifOut", you can put into the alias field "$group_by(ifOut)".
Play around with it. My javascript is...not so great. But, hopefully this is of use to others.