Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Zobnin
94b5c88366 Fix item filtering 2021-05-24 11:20:14 +03:00
Alexander Zobnin
37573e0152 Refactor filters 2021-05-24 10:46:28 +03:00
Alexander Zobnin
65e32c3b10 Refactor tests 2021-05-19 15:52:09 +03:00
Alexander Zobnin
badecc3aae Refactor: zabbix client 2021-05-19 13:17:46 +03:00
Alexander Zobnin
7990613e2c reorganize packages and add tests for zabbix datasource instance methods 2020-06-04 11:43:20 +03:00
Alexander Zobnin
61fee6ea12 Data queries (alerting) 2020-05-29 17:49:18 +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