GoshPosh / grafana-meta-queries

Grafana plugin for calculating time period metrics like week over week, month over month and year over year etc.
Apache License 2.0
285 stars 71 forks source link

Fix groupby for arithmetic bug #81

Open chengyanQtl opened 4 years ago

chengyanQtl commented 4 years ago

Issue: Fix PR #78 bug. It will produce multiple same datapoints when arithmetic over datapoints with groupby along with datapoints without groupby. I fix this bug in this PR. Datasource: Elasticsearch(No testing for other datasource) Attention: Only support for alias pattern {{term fieldname}}. Selection_013