Alexander Zobnin
915973829d
Support item tags, fixes #1258
2021-08-09 14:57:49 +03:00
Alexander Zobnin
7af0d6a189
Fix tests
2021-08-06 14:40:46 +03:00
Alexander Zobnin
2a836b9ecd
Don't align IT services data
2021-08-06 13:22:43 +03:00
Alexander Zobnin
2949675dba
Remove unused frontend functions
2021-08-06 13:03:01 +03:00
Alexander Zobnin
736f05d398
Fix data alignment for db connection queries
2021-08-06 12:31:05 +03:00
Alexander Zobnin
c3ce8824af
Fix default query type for new queries if data source is not default
2021-08-05 18:17:27 +03:00
Alexander Zobnin
62f38df28a
Apply data processing for the IT Service query on the backend
2021-08-05 17:59:58 +03:00
Alexander Zobnin
6c1722d2ef
Refactor queries
2021-08-05 15:13:09 +03:00
Alexander Zobnin
3831c6e28e
Refactor DB connector
2021-08-05 12:18:59 +03:00
Alexander Zobnin
e12b8cbefb
Handle db connection response on the backend
2021-08-04 18:07:38 +03:00
Alexander Zobnin
848ea8a9a0
Enable direct db connection
2021-08-03 19:12:26 +03:00
Alexander Zobnin
12c4089a50
Fix building after update to Grafana 8 components
2021-08-02 18:37:48 +03:00
Alexander Zobnin
4ec5616029
Fix scoped vars for alias functions
2021-06-02 14:54:32 +03:00
Alexander Zobnin
e1557e3924
Fix saving alert rules
2021-06-02 13:39:33 +03:00
Alexander Zobnin
c546f2143d
Mix backend and frontend queries from one panel
2021-06-01 20:47:16 +03:00
Alexander Zobnin
c81a6ae8c3
Use backend queries for item id mode
2021-06-01 13:01:54 +03:00
Alexander Zobnin
4f7699442e
Enable backend requests
2021-05-28 13:11:44 +03:00
Alexander Zobnin
3dd00c4699
Convert frames to wide format if possible
2021-05-28 13:02:11 +03:00
Alexander Zobnin
4bb7fdd1fc
Make alias functions work with different frames
2021-05-28 13:02:00 +03:00
Alexander Zobnin
393932068d
Return results in a stable order
2021-05-28 12:34:04 +03:00
Alexander Zobnin
39e112394e
Remove legacy functions
2021-05-27 14:21:29 +03:00
Alexander Zobnin
67289c91f7
Add first/last agg to top and bottom
2021-05-27 12:00:58 +03:00
Alexander Zobnin
5d3433aef5
Implement aggregateBy
2021-05-26 13:04:57 +03:00
Alexander Zobnin
1cdeafd9ca
Add first and last agg to groupBy, #887
2021-05-26 12:22:17 +03:00
Alexander Zobnin
d5265921ee
Apply alias functions on the frontend
2021-05-26 12:19:45 +03:00
Alexander Zobnin
37573e0152
Refactor filters
2021-05-24 10:46:28 +03:00
Alexander Zobnin
cb711777bc
Disable backend queries temporary
2021-05-19 16:19:40 +03:00
Alexander Zobnin
68c7e20d27
Merge branch 'master' into backend-functions
2021-05-19 09:08:05 +03:00
Alexander Zobnin
3410593f9e
Fix compatibility with Zabbix 5.4 (skip applications filter) ( #1214 )
...
* Fix queries in Zabbix 5.4 (applications not supported)
* Fix alerting queries in Zabbix 5.4
2021-05-18 17:22:49 +03:00
Alexander Zobnin
072c959d23
Invoke metric queries on the backend
2021-03-09 18:23:34 +03:00
Alexander Zobnin
a596d3e18a
update grafana packages
2021-03-09 18:23:34 +03:00
Alexander Zobnin
dea321a124
Fix trendValue(sum) function for API queries, fixes #935
2021-03-09 15:11:36 +03:00
Alexander Zobnin
e37bf01e92
Fix data alignment error
2021-03-09 14:09:33 +03:00
Alexander Zobnin
07e90ebfb8
Fix field display name, fixes #1130
2021-03-09 13:48:29 +03:00
Alexander Zobnin
85065b0733
Fix explore error caused by mismatched series length, closes #1150
2021-02-15 19:11:17 +03:00
Alexander Zobnin
3c00d73e7e
remove unnecessary logging
2021-02-15 17:22:01 +03:00
Alexander Zobnin
4c22b6fcef
Option for using zabbix mapping, closes #1128
2021-02-04 13:58:25 +03:00
Alexander Zobnin
884f4d02c6
Fix handling value mappings for ItemID mode, fix #1148
2021-01-28 11:25:03 +03:00
Alexander Zobnin
879967bf28
TemplateSrv: migrate to grafana/runtime
2021-01-20 12:26:01 +03:00
Alexander Zobnin
926631da96
Use secondsToHms()
...
from grafana/data
2021-01-20 12:20:46 +03:00
Alexander Zobnin
4556f90592
Use roundInterval from @grafana/data package, fix #1142
2021-01-20 11:45:25 +03:00
Alexander Zobnin
8bd85269b1
Fix parsing item update intervals
2020-12-28 13:13:16 +03:00
Alexander Zobnin
47471fdef0
Fix changing problem severity, fix #1104
2020-12-23 13:05:29 +03:00
Alexander Zobnin
98025026f7
Filter problems by time range, fix #1094
2020-12-23 12:48:46 +03:00
Alexander Zobnin
3f10be6a9d
Show query in the inspector, fix #1097
2020-12-23 12:19:21 +03:00
Alexander Zobnin
2a44085288
fix missing semicolon
2020-12-22 17:14:05 +03:00
Alexander Zobnin
4b98f58f66
Extend metric query type
2020-12-22 17:09:58 +03:00
Alexander Zobnin
32ccb28c34
Prevent saving alerts with variables, fix #1100
2020-12-22 17:01:37 +03:00
Alexander Zobnin
1d15f3c11b
Fill trends with null values
2020-12-22 16:29:22 +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