Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Zobnin
fcfb237004 fix annotation queries 2020-01-14 19:00:10 +03:00
Alexander Zobnin
a7a72f5697 fix Filter param (can accept array or single value) 2020-01-14 18:39:21 +03:00
Alexander Zobnin
7a1743ad41 refactor: simplify API queries 2020-01-14 17:42:12 +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
Alec Sears
ca145c9acb Test BuildResponse 2019-10-18 16:17:50 -05:00
Alec Sears
05243a9701 Progress 2019-10-18 16:17:48 -05:00
Alexander Zobnin
3fccec1bb8 Initial boilerplate backend plugin 2019-09-24 19:28:51 +03:00