Commit Graph

10 Commits

Author SHA1 Message Date
Alexander Zobnin
7990613e2c reorganize packages and add tests for zabbix datasource instance methods 2020-06-04 11:43:20 +03:00
Alexander Zobnin
1e04c310df move cache to the separate package 2020-06-03 10:24:32 +03:00
Alexander Zobnin
f0daa9fcb9 Migrate to new backend sdk, use /zabbix-api endpoint for API queries 2020-05-28 17:04:49 +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
e153473421 Finish 2019-10-18 16:21:46 -05:00
Alec Sears
7c3f26a7f4 Initial Commit 2019-10-18 16:16:06 -05:00
vignesh-reddy
e8c5c0c3b9 caching the Zabbix API Queries (#807) 2019-10-04 19:24:56 +03:00
Alexander Zobnin
bfca76650d backend: proxy Zabbix API requests WIP 2019-09-26 09:32:22 +03:00
Alexander Zobnin
6b8c11f4f4 backend: proxy Zabbix API requests through the backend 2019-09-25 21:26:53 +03:00
Alexander Zobnin
f1de88d122 Initial go module 2019-09-24 19:27:52 +03:00