Commit Graph

428 Commits

Author SHA1 Message Date
Alexander Zobnin
4c73f74159 Trigger panel: handle time with moment.js 2016-02-03 19:03:37 +03:00
Alexander Zobnin
ebc1355bea Merge branch 'panel-triggers' into grafana-3.0 2016-02-03 15:45:50 +03:00
Alexander Zobnin
6f9443d5ce Trigger panel: fixed triggers sorting. 2016-02-03 15:45:13 +03:00
Alexander Zobnin
f1adb7f515 Trigger panel: set color for Ok events. 2016-02-03 15:39:22 +03:00
Alexander Zobnin
9996529602 Trigger panel: fixed show triggers option. 2016-02-03 14:50:09 +03:00
Alexander Zobnin
de7c4bf711 Sort triggers by severity. 2016-02-03 14:44:13 +03:00
Alexander Zobnin
a08529faa1 Filter triggers by description. 2016-02-03 14:31:39 +03:00
Alexander Zobnin
d4ea5d5b32 Trigger panel: fixed trigger filtering by group, host and app. 2016-02-03 11:48:48 +03:00
Alexander Zobnin
840f07dc7e Trigger panel: improved work with triggers via api. 2016-02-03 10:50:09 +03:00
Alexander Zobnin
5a2acc6633 Trigger panel: fixed Select triggers section. 2016-02-03 09:34:21 +03:00
Alexander Zobnin
38b83eee29 Fixed templates. 2016-02-02 17:15:56 +03:00
Alexander Zobnin
fa10d76e2b Added methods for getting trend from different api types. Added some
hacks for getting applications from different apis.
2016-02-02 14:45:03 +03:00
Alexander Zobnin
5f0f79da0f Don't run duplicated history requests. 2016-02-02 12:04:06 +03:00
Alexander Zobnin
e83e4e923a Fixed #101 - Grafana sends 50 requests per second to Zabbix when the
configured Zabbix username stops being valid.
2016-02-02 10:51:45 +03:00
Alexander Zobnin
164e2d282d Merge branch 'cache-service' into grafana-3.0 2016-02-01 17:36:52 +03:00
Alexander Zobnin
7c883bd781 Update cache periodically. 2016-02-01 17:33:08 +03:00
Alexander Zobnin
57f8776451 Merge branch 'query-editor' into grafana-3.0 2016-02-01 16:39:46 +03:00
Alexander Zobnin
be405c47dc Some UI fixes for text query editor. 2016-02-01 16:36:03 +03:00
Alexander Zobnin
efc51fdcf6 Impoved query for text items - get only last value. 2016-02-01 16:22:11 +03:00
Alexander Zobnin
2b91f417f4 Fixed text metric query. 2016-02-01 15:42:50 +03:00
Alexander Zobnin
5ead2950b8 Fixed item filtering by types. 2016-02-01 14:31:20 +03:00
Alexander Zobnin
fbebb1f04e Merge branch 'cache-service' into grafana-3.0 2016-02-01 13:50:44 +03:00
Alexander Zobnin
607e867ccb Fixed item filtering in query editor. 2016-02-01 13:45:16 +03:00
Alexander Zobnin
c10f10e811 Merge branch 'cache-service' into grafana-3.0 2016-01-31 21:33:30 +03:00
Alexander Zobnin
f696760c32 Refactor queryCtrl - filter metrics using queryProcessor and
support templating.
2016-01-31 21:21:14 +03:00
Alexander Zobnin
594bbbddb9 Fixed templated variables query. 2016-01-31 20:13:32 +03:00
Alexander Zobnin
e532b3c37f Added method for getting history from cache. 2016-01-31 19:51:26 +03:00
Alexander Zobnin
5b3fe1559c Refacrot ZabbixCachingProxy. Now returns all data in async manner. 2016-01-31 17:20:16 +03:00
Alexander Zobnin
1de4b4bc5c Refactor buildFromCache() method. 2016-01-31 16:43:59 +03:00
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
d27d50527c Merge branch 'query-editor' into grafana-3.0
Conflicts:
	plugins/datasource-zabbix/zabbixAPIWrapper.js
2016-01-31 10:44:12 +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