mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 18:52:33 +08:00
partition by metricColumn when using increase
This commit is contained in:
@ -245,7 +245,7 @@ export default class PostgresQuery {
|
||||
}
|
||||
switch (special.params[0]) {
|
||||
case 'increase':
|
||||
query = query + ' - lag(' + query + ') OVER ()';
|
||||
query = query + ' - lag(' + query + ') OVER (' + over + ')';
|
||||
break;
|
||||
case 'rate':
|
||||
let timeColumn = target.timeColumn;
|
||||
|
Reference in New Issue
Block a user