Commit Graph

72 Commits

Author SHA1 Message Date
Alexander Zobnin
d9c08ca439 Improve metrics filtering in query editor. 2015-06-09 11:58:55 +03:00
Alexander Zobnin
ffd4573efa Increase limitmetrics default to 50. 2015-06-08 20:16:13 +03:00
Alexander Zobnin
beee9973d7 Improved query editor - more flexible metric selection. 2015-06-08 16:25:20 +03:00
Alexander Zobnin
1e3af4c742 Testing unified style for templated and regular queries. 2015-06-05 15:04:06 +03:00
Alexander Zobnin
485cfd6687 Fixed query editor: show only unique item names. 2015-06-05 14:50:13 +03:00
Alexander Zobnin
a75af217fd Query editor: templated variables support. 2015-06-04 22:48:29 +03:00
Alexander Zobnin
53ad2a07f5 Some comments add for templated queries. 2015-06-04 21:51:18 +03:00
Alexander Zobnin
9ab2041494 Refoctoring of metricFindQuery(). 2015-06-04 21:35:52 +03:00
Alexander Zobnin
4dbbb496a8 Improve auth error handle - more clear. 2015-06-04 21:22:09 +03:00
Alexander Zobnin
04ccba8501 Fixed splitMetrics() 2015-06-04 00:09:29 +03:00
Alexander Zobnin
f84443692b Add splitMetrics() function for extracting metrics from "{metric1,metcic2,...,metricN}" string. 2015-06-03 23:50:10 +03:00
Alexander Zobnin
3a31b8b27c Fixed templated items parsing (fixed regexps) 2015-06-03 23:21:20 +03:00
Alexander Zobnin
83c82a3481 Fixed "Session terminated, re-login, please." error when auth token expired. 2015-06-03 21:57:25 +03:00
Alexander Zobnin
ae9d4b2258 Fixed templated hostnames extracting (fixed regex). 2015-06-03 21:35:43 +03:00
Alexander Zobnin
2ab15e6c18 Refactoring: code formatting and add functions descriptions and some comments. 2015-05-31 23:37:24 +03:00
Alexander Zobnin
4313ecb800 Templated items search: select only unique names. 2015-05-31 15:12:25 +03:00
Alexander Zobnin
1eefaa78d8 Removed [] from aliases for templated graphs. 2015-05-31 14:32:31 +03:00
Alexander Zobnin
ed0138560c Reduce number of api requests in query() method. 2015-05-31 14:29:48 +03:00
Alexander Zobnin
c71ad03cf5 Improve app search in query editor - return only unique app names and search by app name in multiple hosts. 2015-05-31 09:25:07 +03:00
Alexander Zobnin
4ab1fb4568 Fixed expandItemName() in query editor (no need to expand templated item name in editor).
Improve hosts and items search - return only monitored hosts and enabled items.
2015-05-30 21:12:33 +03:00
Alexander Zobnin
46c9fa90be Fix query editor for work with templated variables. 2015-05-30 20:54:03 +03:00
Alexander Zobnin
81f10ea6a9 [hostname]: itemname alias for multiple hosts items. 2015-05-29 23:35:14 +03:00
Alexander Zobnin
ff3fe7f219 Metrics search for multiple hosts. 2015-05-29 21:51:23 +03:00
Alexander Zobnin
fe710e7d1a Improve templated variables search, reduced the number of requests to api. 2015-05-29 21:25:47 +03:00
Alexander Zobnin
bf6c573883 Fix multiple groups hosts search. 2015-05-29 20:12:50 +03:00
Alexander Zobnin
936c19310e Fix getting item alias from name for non-templated items. 2015-05-29 19:33:47 +03:00
Alexander Zobnin
ac84871085 Fix panel error when no items returned by templated variable query. 2015-05-29 00:08:07 +03:00
Alexander Zobnin
d7ff952761 Add limitmetrics configuration parameter to plugin.json 2015-05-28 23:28:28 +03:00
Alexander Zobnin
8c59c87b22 Fix not-templated metric request. 2015-05-28 23:27:07 +03:00
Alexander Zobnin
a1fb1f7593 Reduce number of api requests generated by query() method. 2015-05-28 23:05:02 +03:00
Alexander Zobnin
149a2bd851 Templated items selection by item name. 2015-05-28 21:46:20 +03:00
Alexander Zobnin
feb729de52 Add metrics limit per panel. 2015-05-28 21:12:40 +03:00
Alexander Zobnin
2c58bc4ba9 One request for each item's value type. Reduce api requests. 2015-05-28 21:04:33 +03:00
Alexander Zobnin
dace394060 Refactoring of query() method. 2015-05-27 17:00:25 +03:00
Alexander Zobnin
974d49b0b9 Handle templated queries. 2015-05-26 22:48:02 +03:00
Alexander Zobnin
4d89b82de1 Fix templated items search. 2015-05-25 01:49:33 +03:00
Alexander Zobnin
0213512e3b Add templated graphs. 2015-05-25 01:26:09 +03:00
Alexander Zobnin
aa424af15b Fix item selection. 2015-05-25 00:03:26 +03:00
Alexander Zobnin
69d889b5c2 Add templated variables to selection list in query editor. 2015-05-24 23:53:13 +03:00
Alexander Zobnin
6c20946e7a Add host and group templated variables query. 2015-05-23 23:06:19 +03:00
Alexander Zobnin
0e0f5907c4 Add itemFindQuery for search templated items. 2015-05-23 17:45:07 +03:00
Alexander Zobnin
7bc24fc2a0 Add templated items and apps search. 2015-05-23 17:08:12 +03:00
Alexander Zobnin
841b47edb5 Add metricFindQuery for templated dashboards support. 2015-05-21 23:14:18 +03:00
Alexander Zobnin
3faf4be708 Improve annotations - filter trigger expression. 2015-05-19 23:54:06 +03:00
Alexander Zobnin
c3b64fc2b5 Refactoring: change performZabbixAPIRequest()? deleted code duplication. 2015-05-18 12:36:43 +03:00
Alexander Zobnin
a62d0e60fc Refactoring: separate api request for each target. handleMultipleRequest() no more needed. 2015-05-18 11:45:10 +03:00
Alexander Zobnin
1158134718 Some night refactoring. 2015-05-17 22:39:30 +03:00
Alexander Zobnin
1c4b84e33b Refactoring - new handleZabbixAPIResponse method. 2015-05-17 16:16:18 +03:00
Alexander Zobnin
6c049cc161 config.html change to default. 2015-05-17 14:48:55 +03:00
Alexander Zobnin
7b5f056d18 Query editor UI fixes. 2015-05-16 19:57:35 +03:00