Alexander Zobnin
82cfda6524
Variable query editor ( #856 )
...
* refactor: convert module to typescript
* refactor: covert utils to typescript
* variable query editor WIP
* variable editor: fix type error after grafana/ui update
* variable editor: use FormLabel from grafana/ui
* variable editor: refactor
* variable editor: input validation and highlights
* variable editor: fix tests
* variable query: fix backward compatibility with empty queries
* fix linter errors
* variable editor: fix variable replacement in queries
2020-01-13 11:31:40 +03:00
vignesh-reddy
3f5719794a
Backend: implement alerting query ( #847 )
...
* Unit tests for backend
* minor change
* Implemented querNumericItems in backend
* Added query type
* Set alerting to true
* Return TimeSeries from History
* Updated alerting feature
* Fix params marshal error
* Fix params more
* Update zabbixAPIConnector.js
* Numbers, I guess
* Params Output Type
* Output marshaling
* Unmarshal and decoder error catch
* HistoryPoint and Unmarshal fixes
* Unmarshal to History
* Revert "Update zabbixAPIConnector.js"
This reverts commit e0ffdff859b6f920893a47a709493f8076e38ef4.
* Fix unmarshaling for real
* Time range integer
* Use more zabbix.Items
* Update response_models.go
* Update zabbix_api.go
* Update models.go
* Update zabbix_api.go
* Tests
* Adding more unit tests and cleaning up additional logging
* Make history request param a pointer
* Actually store datasource in cache
* Debug logs and timings
* Handle panics gracefully
* Updated Regex filter parsing
* Removed must compile
* Clean up regex filter
2020-01-13 10:38:24 +03:00
Mark Reibert
dd28b28174
Fix percentile() function, closes #862 ( #863 )
...
Like the other aggregation functions, the datapoints need to be sorted in
time before calling groupBy_perf().
2020-01-11 20:28:32 +03:00
vignesh-reddy
c300debe35
Backend: Merge master into the backend branch ( #845 )
...
* CI: fix shellcheck issues (#789 )
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
* annotations: fix options in grafana 6.x, fix #813
* fix function editor in Grafana 6.4, closes #810
* add typings for grafana packages
* Add $__range_series variable for calculating function over the whole series, #531
* fix tests
* Don't set alert styles for react panels, fix #823
* docs: add range variables
* docs: percentile reference
* fix codespell
Co-authored-by: Mario Trangoni <mario@mariotrangoni.de >
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
2019-12-30 10:45:47 +03:00
Alexander Zobnin
90a9115958
fix adding func from typeahead, closes #468
2019-12-26 17:30:13 +03:00
Alexander Zobnin
aa93e752c8
Merge branch 'multidatasource-pr' of github.com:dneth/grafana-zabbix into dneth-multidatasource-pr
2019-12-13 13:52:09 +03:00
vignesh-reddy
0bb2f7c7d8
Backend: handle response on the frontend ( #839 )
2019-12-12 11:48:03 +03:00
Alexander Zobnin
5afeda64cc
Range-related variables #814
2019-10-28 16:24:56 +03:00
Alexander Zobnin
42d93b4d73
Don't set alert styles for react panels, fix #823
2019-10-28 11:44:47 +03:00
Alec Sears
2ef9a01a67
JSHint
2019-10-18 16:21:49 -05:00
Alec Sears
e153473421
Finish
2019-10-18 16:21:46 -05:00
Alec Sears
05243a9701
Progress
2019-10-18 16:17:48 -05:00
Alec Sears
233a6b1cf4
Fix codespell error
2019-10-10 15:15:55 -05:00
Alexander Zobnin
1d13520358
fix tests
2019-10-09 15:42:34 +03:00
Alexander Zobnin
1827aa942a
Add $__range_series variable for calculating function over the whole series, #531
2019-10-09 15:26:35 +03:00
Alexander Zobnin
a652eafc46
fix function editor in Grafana 6.4, closes #810
2019-10-09 14:09:56 +03:00
Alexander Zobnin
9cf13230eb
annotations: fix options in grafana 6.x, fix #813
2019-10-09 13:38:17 +03:00
Alexander Zobnin
6e80b49120
backend: handle response on the fronted
2019-09-26 21:35:00 +03:00
Alexander Zobnin
6b8c11f4f4
backend: proxy Zabbix API requests through the backend
2019-09-25 21:26:53 +03:00
Alexander Zobnin
3fccec1bb8
Initial boilerplate backend plugin
2019-09-24 19:28:51 +03:00
Alexander Zobnin
8f139d0322
SLA over time: make intervals based on panel intervalMs, #728
2019-07-30 18:56:42 +03:00
JeferCatarina
2fac45c11b
SLA over time ( #764 )
...
* Added "Functions" to IT Services editor panel
* Added support to IT Services graph over time
2019-07-30 18:54:56 +03:00
Alexander Zobnin
ca082c98a1
fix panel alert state icon in Grafana 6, closes #715
2019-07-08 16:31:48 +03:00
Alexander Zobnin
348a5165f2
function editor: fix moving alias func to the end
2019-07-08 15:38:30 +03:00
Alexander Zobnin
fbefe66d75
refactor: move react components to separate dir
2019-07-08 15:35:13 +03:00
Alexander Zobnin
4346e13365
fix function editor in Grafana 6, #765
2019-07-08 15:25:41 +03:00
Alexander Zobnin
6b5b5f818b
fix direct DB connection datasource config, closes #731
2019-07-05 16:23:36 +03:00
Timo Myllymaki
f2627acf2c
Fix linter errors
2019-06-19 12:37:30 +03:00
Timo Myllymaki
dc97b83804
Expand macros in trigger URL fields
2019-06-19 12:25:38 +03:00
Alexander Zobnin
3a7da58302
fix triggers count with latest Zabbix 4.x, closes #726
2019-04-24 10:12:38 +03:00
Alexander Zobnin
e1e5ea193a
fix triggers count in latest zabbix 4.x, closes #726
2019-04-24 10:04:24 +03:00
Alexander Zobnin
c5453041ac
triggers mode: filter results by group, fix #709
2019-04-23 19:53:38 +03:00
Alexander Zobnin
bc889ffe30
Fix problems fetching performance and memory issues ( #724 )
...
* request only alert message when invoking alert.get
* fetch problem alerts on demand
* problems panel: refactor
2019-04-22 12:29:05 +03:00
Alexander Zobnin
938ca83e47
add migration for percentile agg
2019-04-19 13:14:41 +03:00
Alexander Zobnin
05a746b42c
Merge branch 'fix-codespell-issues' of git://github.com/mjtrangoni/grafana-zabbix into mjtrangoni-fix-codespell-issues
2019-04-19 13:00:25 +03:00
Alexander Zobnin
869634ef62
Fix ds provisioning with direct DB connection enabled ( #723 )
...
* fix ds provisioning with direct DB connection #711
* fix linter error
2019-04-19 12:56:51 +03:00
Mario Trangoni
0e81752ab8
lint: Fix disallowSpacesInsideArrayBrackets issues
...
See,
disallowSpacesInsideArrayBrackets: Illegal space after opening bracket at src/datasource-zabbix/specs/utils.spec.js :
156 | },
157 | {
158 | array: [ [[1, 2], [3, 4]], [[1, 2], [3, 4]] ],
--------------------------^
159 | depth: 3
160 | },
disallowSpacesInsideArrayBrackets: Illegal space before closing bracket at src/datasource-zabbix/specs/utils.spec.js :
156 | },
157 | {
158 | array: [ [[1, 2], [3, 4]], [[1, 2], [3, 4]] ],
-------------------------------------------------------------^
159 | depth: 3
160 | },
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
2019-04-10 20:00:17 +02:00
Mario Trangoni
2f9be7a184
src/*: Fix codespell issues
...
See,
$ codespell -S './src/img/*.png,./.git*' -L que
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
2019-04-10 19:35:34 +02:00
Alexander Zobnin
e4bbecb18b
fix multiple agg functions handling, closes #530
2019-03-07 10:35:36 +03:00
Alexander Zobnin
e52e296c11
fix datasource provisioning with direct DB connection enabled, closes #688
2019-03-05 14:13:05 +03:00
Alexander Zobnin
f2d690f92b
influxdb: fix trends query, closes #675
2019-03-04 17:39:10 +03:00
Alexander Zobnin
6449b8b255
fix annotations with full day/week/month intervals, closes #680
2019-03-01 14:00:15 +03:00
Alexander Zobnin
55158de311
fix median() function bug, closes #690
2019-03-01 13:42:37 +03:00
Alexander Zobnin
5884c8f3f9
fix offset() function, #683
2019-03-01 13:26:09 +03:00
Alexander Zobnin
6ca59e4592
fix missing ngInject
2019-02-14 14:41:42 +03:00
Alexander Zobnin
f00d191789
use debug log level for query timings
2019-02-14 14:14:25 +03:00
Alexander Zobnin
ae32dfb9a7
use trends only if interval strictly greater than specified
2019-02-14 10:55:34 +03:00
Alexander Zobnin
a41df652b2
influx: docs for retention policy option
2019-02-14 10:55:34 +03:00
Alexander Zobnin
089700d227
influx: support retention policy for long-term stored data
2019-02-14 10:55:34 +03:00
Alexander Zobnin
d061a3ddce
config page: rename SQL data sources to DB data sources
2019-02-14 10:55:34 +03:00