Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Zobnin
d389e00865 Fix error when creating new variable, fixes #1282 2021-08-31 17:52:10 +03:00
Alexander Zobnin
5ed80a60e7 Fix parsing timeout (use number instead of string), fixes #1254 2021-08-11 13:32:37 +03:00
Alexander Zobnin
21f1d87dc1 Support item tags as variables 2021-08-10 12:34:18 +03:00
Alexander Zobnin
12c4089a50 Fix building after update to Grafana 8 components 2021-08-02 18:37:48 +03:00
Alexander Zobnin
a596d3e18a update grafana packages 2021-03-09 18:23:34 +03:00
Alexander Zobnin
83618178f0 Use Data frames response format (#1099)
* Use data frames for numeric data

* Use data frames for text data

* Use data frames for IT services

* fix multiple series

* Convert to the wide format if possible

* Fix table format for text data

* Add refId to the data frames

* Align time series from Zabbix API

* Fill gaps with nulls

* Fix moving average functions

* Option for disabling data alignment

* remove unused logging

* Add labels to data frames

* Detect units

* Set min and max for if percent unit used

* Use value mapping from Zabbix

* Rename unitConverter -> convertZabbixUnit

* More units

* Add missing points in front of each series

* Fix handling table data

* fix db connector data frames handling

* fix it services data frames handling

* Detect all known grafana units

* Chore: remove unused logging

* Fix problems format

* Debug logging: show original units

* Add global option for disabling data alignment

* Add tooltip for the disableDataAlignment feature

* Add note about query options

* Functions for aligning timeseries on the backend
2020-12-22 15:33:14 +03:00
Alexander Zobnin
c7d3d54a15 Add timeout to defaults 2020-11-10 16:41:13 +03:00
Alexander Zobnin
82819b20aa Able to configure API request timeout, #1046 2020-11-10 16:39:06 +03:00
Alexander Zobnin
5ec8fc885b Config: fix direct db connection ds selector, closes #1027 2020-08-28 18:03:23 +03:00
Alexander Zobnin
a9c96c2634 fix open password removing 2020-06-02 09:25:32 +03:00
Alexander Zobnin
df12c0443d Fix query config editor 2020-06-01 18:38:40 +03:00
Alexander Zobnin
48767fe479 Update datasource config editor 2020-06-01 18:05:50 +03:00
Alexander Zobnin
41e4f812bc Variable editor: fix styles in Grafana 7 2020-05-20 18:38:20 +03:00
Alexander Zobnin
84d93ecd5b Variables: able to query item values, closes #417 2020-05-20 16:52:40 +03:00
Alexander Zobnin
959cea2061 Problems: improve ack dialog (add ack options), closes #942 2020-05-18 19:41:33 +03:00
Alexander Zobnin
fde56d24e9 Fix variable query editor 2020-05-08 17:45:05 +03:00
Alexander Zobnin
dad0fd965d Migrate backendSrv to getBackendSrv, fix direct DB connection 2020-03-20 17:03:49 +03:00
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
Alexander Zobnin
a652eafc46 fix function editor in Grafana 6.4, closes #810 2019-10-09 14:09:56 +03:00
Alexander Zobnin
fbefe66d75 refactor: move react components to separate dir 2019-07-08 15:35:13 +03:00