mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 17:14:54 +08:00
Add delta window function to postgres query builder
Unlike the increase function delta doesn't check for resets and can go negative. This is similar to the prometheus delta function.
This commit is contained in:
@ -158,6 +158,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
text: 'Window Functions',
|
||||
value: 'window',
|
||||
submenu: [
|
||||
{ text: 'Delta', value: 'delta' },
|
||||
{ text: 'Increase', value: 'increase' },
|
||||
{ text: 'Rate', value: 'rate' },
|
||||
{ text: 'Sum', value: 'sum' },
|
||||
|
Reference in New Issue
Block a user