Alexander Zobnin
899ecb9ec2
Resource handler description
2020-06-04 12:23:18 +03:00
Alexander Zobnin
95c8e9cfa6
move cache to datasource_cache
2020-06-04 12:10:34 +03:00
Alexander Zobnin
89dfb1e228
tidy modules
2020-06-04 11:51:05 +03:00
Alexander Zobnin
9713e7d780
remove unused
2020-06-04 11:50:54 +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
4bebeb4919
zabbix api tests
2020-06-03 18:03:26 +03:00
Alexander Zobnin
6f95e9f7e8
fix datasource tests
2020-06-03 17:07:29 +03:00
Alexander Zobnin
67ed44cf20
remove models tests
2020-06-03 16:21:57 +03:00
Alexander Zobnin
7872d55dbc
Fix cache tests
2020-06-03 16:21:30 +03:00
Alexander Zobnin
1e04c310df
move cache to the separate package
2020-06-03 10:24:32 +03:00
Alexander Zobnin
d8d83484af
set cached methods
2020-06-02 17:26:24 +03:00
Alexander Zobnin
ff0b8b9dff
refactor and removing unused code
2020-06-02 17:18:38 +03:00
Alexander Zobnin
a5f8eb02bb
Zabbix API refactoring
2020-06-02 15:48:33 +03:00
Alexander Zobnin
a9c96c2634
fix open password removing
2020-06-02 09:25:32 +03:00
Alexander Zobnin
3e379b01df
Handle ds init errors
2020-06-01 18:38:50 +03:00
Alexander Zobnin
48767fe479
Update datasource config editor
2020-06-01 18:05:50 +03:00
Alexander Zobnin
875e611400
use cache for alert queries
2020-06-01 14:03:57 +03:00
Alexander Zobnin
ee2cc49ba1
do not cache history requests
2020-06-01 12:50:22 +03:00
Alexander Zobnin
2c10fdf996
remove excess debug logging
2020-06-01 12:23:01 +03:00
Alexander Zobnin
55c30b5cad
remove unused
2020-06-01 12:11:12 +03:00
Alexander Zobnin
bf69d9037a
implement CheckHealth
2020-06-01 12:01:10 +03:00
Alexander Zobnin
2491ccfc27
Read ds settings and use it for trends
2020-06-01 11:43:07 +03:00
Alexander Zobnin
852bc07388
Fix multiple series handling
2020-05-29 18:20:06 +03:00
Alexander Zobnin
61fee6ea12
Data queries (alerting)
2020-05-29 17:49:18 +03:00
Alexander Zobnin
9f344cb867
Refactor API calls
2020-05-29 12:33:37 +03:00
Alexander Zobnin
efb4d41da5
Handle backend api errors
2020-05-29 11:09:43 +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
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
7653bacce9
fix linter errors
2020-01-14 17:56:44 +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
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
Alexander Zobnin
5990d64bce
Merge branch 'makefile-improvements' of github.com:dneth/grafana-zabbix into dneth-makefile-improvements
2019-12-12 11:30:01 +03:00
Alexander Zobnin
31d797e36b
fix plugin crash due to result is nil
2019-12-12 11:18:01 +03:00
Alexander Zobnin
f1f911a3fa
Merge branch 'securejson' of github.com:dneth/grafana-zabbix into dneth-securejson
2019-12-12 10:57:19 +03:00
vignesh-reddy
24fd0ff9ec
Backend: renew auth token if expired ( #808 )
...
* Backend: Added logic to renew auth token if expired
* Added nil check for err
* Added case if the err is nil
* Removed the case where data source tries to login at every request
2019-12-12 10:41:53 +03:00
Alec Sears
e153473421
Finish
2019-10-18 16:21:46 -05:00
Alec Sears
ca145c9acb
Test BuildResponse
2019-10-18 16:17:50 -05:00
Alec Sears
27cf031b6c
Accept any type for datasource response
2019-10-18 16:17:50 -05:00
Alec Sears
05243a9701
Progress
2019-10-18 16:17:48 -05:00
Alec Sears
7c3f26a7f4
Initial Commit
2019-10-18 16:16:06 -05:00
Alec Sears
a2d685af20
Coverage fixes
2019-10-10 15:56:15 -05:00
Alec Sears
6beda3a394
Update zabbix_api.go
2019-10-08 13:53:26 -05:00
Alec Sears
8b03b2ae49
Merge branch 'backend' into securejson
2019-10-08 13:48:45 -05:00
Alec Sears
65cf757fab
Update zabbix_api.go
2019-10-08 13:46:38 -05:00
vignesh-reddy
e8c5c0c3b9
caching the Zabbix API Queries ( #807 )
2019-10-04 19:24:56 +03:00
Alexander Zobnin
6e80b49120
backend: handle response on the fronted
2019-09-26 21:35:00 +03:00
Alexander Zobnin
f5122e1faf
backend: authentication POC
2019-09-26 21:14:11 +03:00
Alexander Zobnin
bfca76650d
backend: proxy Zabbix API requests WIP
2019-09-26 09:32:22 +03:00