Commit Graph

83 Commits

Author SHA1 Message Date
Alexander Zobnin
521e3a2a08 ZabbixCachingProxy: Wrap _refresh() method to call it once. 2016-01-31 16:21:24 +03:00
Alexander Zobnin
e9d29c63ba Wrap cache refresh() method to call it once. 2016-01-31 15:14:48 +03:00
Alexander Zobnin
63cb31003c Improved both api request() in zabbixAPI and zabbixAPIService.
Improved api request error handling.
2016-01-31 15:06:36 +03:00
Alexander Zobnin
1d3e2337a2 Call login() once. 2016-01-31 13:40:24 +03:00
Alexander Zobnin
625096cba8 ZabbixAPI refactor. 2016-01-31 11:17:14 +03:00
Alexander Zobnin
a139131c26 Little ZabbixAPIService refactor. 2016-01-31 11:11:56 +03:00
Alexander Zobnin
006d74d3c5 Renamend ZabbixCache service to ZabbixCachingProxy. 2016-01-31 11:02:14 +03:00
Alexander Zobnin
4231d3769a Updated datasource.metricFindQuery() for working with cache. 2016-01-30 22:30:23 +03:00
Alexander Zobnin
075fed6668 Don't request undefined targets. 2016-01-29 19:03:34 +03:00
Alexander Zobnin
71e60fb808 Fixed query editor slowdown when opened. 2016-01-29 18:35:13 +03:00
Alexander Zobnin
2676ca246b Aggregation functions refactoring. 2016-01-29 17:30:18 +03:00
Alexander Zobnin
2819162809 Added medianBy() aggregation. 2016-01-29 17:00:22 +03:00
Alexander Zobnin
8ae3b8b2eb Fixed panel update when function without params was added. 2016-01-29 16:33:45 +03:00
Alexander Zobnin
fb35c83d80 Added sumSeries() aggregation. 2016-01-29 16:28:31 +03:00
Alexander Zobnin
15f7134d9e Show only needed item types in query editor. 2016-01-28 22:14:35 +03:00
Alexander Zobnin
308fef223e Fixed panel update when new function added. 2016-01-28 21:44:40 +03:00
Alexander Zobnin
1b58e42d73 Fixed slicing to frames in groupBy() function. 2016-01-28 21:36:17 +03:00
Alexander Zobnin
35e6ad8df5 Removed unused function definitions. 2016-01-28 20:56:31 +03:00
Alexander Zobnin
8278ad67cb Apply alias functions. 2016-01-28 20:53:50 +03:00
Alexander Zobnin
8a013b5d81 Show last aggregation function as metric alias. 2016-01-28 19:56:59 +03:00
Alexander Zobnin
ce757409c3 Datasource query() refactoring. 2016-01-28 19:37:50 +03:00
Alexander Zobnin
e124838e34 Initialize cache only if needed. 2016-01-28 19:16:14 +03:00
Alexander Zobnin
79842184bc Build query in asynchronous manner (fixed getting data at first load). 2016-01-28 19:12:08 +03:00
Alexander Zobnin
76630587d3 Fixed functions creation in query editor. 2016-01-28 18:49:38 +03:00
Alexander Zobnin
7565cb0114 Fixed bug with aggregation functions bind when dashboard loaded. 2016-01-28 18:38:31 +03:00
Alexander Zobnin
95cae7ee4d Removed unused data logging in console. 2016-01-27 23:31:42 +03:00
Alexander Zobnin
865d5f1777 Fixed dashboard saving error due recursive target. 2016-01-27 23:30:05 +03:00
Alexander Zobnin
0680f65370 Added aggregation functions processing. 2016-01-27 23:19:27 +03:00
Alexander Zobnin
14e55fcbf0 Process all transform functions. 2016-01-27 22:14:32 +03:00
Alexander Zobnin
d30ad45b9f Fix functions flushing when editor reopened. 2016-01-27 00:31:06 +03:00
Alexander Zobnin
2d86c8a578 Added initial metric functions processing. 2016-01-26 23:44:35 +03:00
Alexander Zobnin
63729a5904 Changed groupBy() function for working with grafana-style intervals. 2016-01-26 22:59:11 +03:00
Alexander Zobnin
fcf0bdfaca Added initial metric functions directives based on graphite query
editor.
2016-01-26 22:38:01 +03:00
Alexander Zobnin
38f8e04d22 Added initial target options menu. 2016-01-25 21:34:23 +03:00
Alexander Zobnin
96602e2811 Added "Show disabled items" checkbox to query editor. 2016-01-24 22:33:53 +03:00
Alexander Zobnin
13f3f3824f Fixed items filtering in query editor. 2016-01-24 22:05:30 +03:00
Alexander Zobnin
2f4242854f Fixed items search (no items returned when item name selected from
typeahead).
2016-01-24 19:49:46 +03:00
Alexander Zobnin
1e20e7eecf Load default values for new target. 2016-01-24 19:38:59 +03:00
Alexander Zobnin
efeb69084a Downsample panel data after all transformations. 2016-01-24 19:17:56 +03:00
Alexander Zobnin
69bee3db0b Added MIN and MAX function for groupBy() 2016-01-24 13:23:47 +03:00
Alexander Zobnin
c64dd1d874 Replaced old downsampleSeries() method by new
DataProcessingService.groupBy()
2016-01-24 13:04:09 +03:00
Alexander Zobnin
3ded90efec Added DataProcessingService for timeseries post-processing. 2016-01-24 12:30:25 +03:00
Alexander Zobnin
675f202b53 Renamed queryBulder to queryProcessor. 2016-01-24 10:20:38 +03:00
Alexander Zobnin
f4fc5fa2c1 Hide unnecessary items in query editor. 2016-01-23 23:17:40 +03:00
Alexander Zobnin
4fe7f68dd2 Removed unnecessary _.flatten 2016-01-23 23:08:59 +03:00
Alexander Zobnin
fa220cc45a Handle history response in query builder. 2016-01-23 22:56:20 +03:00
Alexander Zobnin
6b71f42c48 Build query true QueryBuilder. 2016-01-23 20:43:51 +03:00
Alexander Zobnin
3ee15a0a7e Handle "Session terminated..." error. 2016-01-23 18:31:19 +03:00
Alexander Zobnin
51b0a7a0eb Working on new Zabbix API service. 2016-01-23 15:40:10 +03:00
Alexander Zobnin
bc52687bca Changed testDatasource() method for new api. 2016-01-23 14:40:58 +03:00