Commit Graph

18 Commits

Author SHA1 Message Date
Alexander Zobnin
2f08ed13ff Refactor: remove unused code 2021-09-15 16:40:16 +03:00
Alexander Zobnin
8fa10bb76b Align time stamps with Round instead of Truncate 2021-09-15 16:27:05 +03:00
Alexander Zobnin
4b3d8e5106 Fix top() function, fixes #1267 2021-08-25 14:33:46 +03:00
Alexander Zobnin
7d5b7cad3e Align time series data if possible 2021-05-31 17:42:24 +03:00
Alexander Zobnin
393932068d Return results in a stable order 2021-05-28 12:34:04 +03:00
Alexander Zobnin
2e3e235fa7 Implement delta and rate 2021-05-27 17:23:01 +03:00
Alexander Zobnin
24e9129fbe Implement sortSeries 2021-05-27 12:57:09 +03:00
Alexander Zobnin
fe0192258e Implement top/bottom 2021-05-27 10:51:33 +03:00
Alexander Zobnin
ac220a76e8 Support $__range_series variable 2021-05-26 17:48:36 +03:00
Alexander Zobnin
b07a226574 Implement sumSeries 2021-05-26 17:35:01 +03:00
Alexander Zobnin
5d3433aef5 Implement aggregateBy 2021-05-26 13:04:57 +03:00
Alexander Zobnin
d3888329cb Scale/offset 2021-05-25 16:24:32 +03:00
Alexander Zobnin
addd86d7cd More agg functions 2021-05-25 16:04:05 +03:00
Alexander Zobnin
e996252aff Fix avg aggregation 2021-05-25 15:49:58 +03:00
Alexander Zobnin
ebd9b46096 Implement groupBy 2021-05-25 15:47:18 +03:00
Alexander Zobnin
3f7cabcd53 initial pipeline for functions processing 2021-05-24 17:46:49 +03:00
Alexander Zobnin
7748508a5c Use time series format internally 2021-05-24 17:11:36 +03:00
Alexander Zobnin
83618178f0 Use Data frames response format (#1099)
* Use data frames for numeric data

* Use data frames for text data

* Use data frames for IT services

* fix multiple series

* Convert to the wide format if possible

* Fix table format for text data

* Add refId to the data frames

* Align time series from Zabbix API

* Fill gaps with nulls

* Fix moving average functions

* Option for disabling data alignment

* remove unused logging

* Add labels to data frames

* Detect units

* Set min and max for if percent unit used

* Use value mapping from Zabbix

* Rename unitConverter -> convertZabbixUnit

* More units

* Add missing points in front of each series

* Fix handling table data

* fix db connector data frames handling

* fix it services data frames handling

* Detect all known grafana units

* Chore: remove unused logging

* Fix problems format

* Debug logging: show original units

* Add global option for disabling data alignment

* Add tooltip for the disableDataAlignment feature

* Add note about query options

* Functions for aligning timeseries on the backend
2020-12-22 15:33:14 +03:00