Commit Graph

1018 Commits

Author SHA1 Message Date
Alexander Zobnin
413bf583d6 Problems: sorting option 2020-05-13 18:40:27 +03:00
Alexander Zobnin
2588fd5c50 Problems: more work on options migration 2020-05-13 18:13:25 +03:00
Alexander Zobnin
bfbd2907ce fix linter errors 2020-05-12 19:31:02 +03:00
Alexander Zobnin
00f6aa459e Fix jsdom canvas error on tests 2020-05-12 19:28:57 +03:00
Alexander Zobnin
f3545f01e5 fix panel migration tests 2020-05-12 19:24:43 +03:00
Alexander Zobnin
f7105d9f06 fix TriggerPanelCtrl tests 2020-05-12 19:18:15 +03:00
Alexander Zobnin
72b739f4cb fix linter error 2020-05-12 13:47:47 +03:00
Alexander Zobnin
5015120a50 fix panel crashing if no lastEvent present 2020-05-12 13:46:50 +03:00
Alexander Zobnin
debff045dc TriggerPanelCtrl: migrate to TS 2020-05-12 13:36:05 +03:00
Alexander Zobnin
7c9447aaa0 Problems: clean up panel options 2020-05-12 13:27:12 +03:00
Alexander Zobnin
eafe90c7bf Problems: rearrange options in query editor 2020-05-12 12:55:45 +03:00
Alexander Zobnin
030d86aa45 Add link to docs to help page 2020-05-08 18:04:37 +03:00
Alexander Zobnin
fc9aae0644 Fix help page 2020-05-08 18:02:22 +03:00
Alexander Zobnin
fde56d24e9 Fix variable query editor 2020-05-08 17:45:05 +03:00
Alexander Zobnin
32543f3380 Chore: clean up 2020-05-08 17:31:17 +03:00
Alexander Zobnin
04715e94c8 Chore: remove unused files 2020-05-08 17:13:54 +03:00
Alexander Zobnin
29acf951b2 Problems: fix proxy filter 2020-05-08 17:09:18 +03:00
Alexander Zobnin
0916f2eff7 Problems: fix filtering by tags 2020-05-08 15:29:38 +03:00
Alexander Zobnin
001d911282 Problems: fix tags add/remove 2020-05-08 15:11:55 +03:00
Alexander Zobnin
0381d77519 Problems panel: add target migrations 2020-05-08 14:47:18 +03:00
Alexander Zobnin
1d49052850 Problems panel: convert to metric panel 2020-05-08 14:01:44 +03:00
Alexander Zobnin
f8f675f78e Move proxy option to the datasource query editor 2020-05-07 17:55:46 +03:00
Alexander Zobnin
80aa2e94ad Move problem query options to the datasource 2020-05-07 17:51:24 +03:00
Alexander Zobnin
7f1d4eb313 Problems: use datasource query 2020-05-07 15:01:40 +03:00
Alexander Zobnin
29d902326a Move problems query to the data source 2020-05-07 13:38:55 +03:00
Alexander Zobnin
64f64ff71f remove lodash backward compatibility fixes 2020-05-07 11:57:22 +03:00
Alexander Zobnin
ffb1862094 convert timeseries.js to TS 2020-05-07 11:56:41 +03:00
Alexander Zobnin
e7cd31c75c convert metricFunctions to TS 2020-05-07 11:49:51 +03:00
Alexander Zobnin
44660476ca datasource: convert to TS 2020-05-07 11:33:15 +03:00
Alexander Zobnin
624574e5d3 Problems: fix alert list rendering if no last event present 2020-04-29 20:51:12 +03:00
Alexander Zobnin
916c570664 Fix severity for resolved problems, closes #909 2020-04-13 15:55:25 +03:00
Alexander Zobnin
6729de0e48 Add series-specific variables for using in alias functions, #619 2020-04-13 15:13:54 +03:00
Alexander Zobnin
9430993b26 Chore: convert responseHandler to TS 2020-04-13 14:24:21 +03:00
Alexander Zobnin
8ac5f42e73 Use event name for annotations if available, fixes #891 2020-04-13 14:12:16 +03:00
Alexander Zobnin
08b1b635b7 Fix explore mode in Grafana 6.x, closes #888
Migrate target.mode to target.queryType because Explore uses target.mode and overwrites it.
2020-04-13 12:16:44 +03:00
Alexander Zobnin
9c9c665a8f Merge branch 'master' of github.com:alexanderzobnin/grafana-zabbix 2020-04-13 09:49:16 +03:00
Alexander Zobnin
3dfe29816b DB Connection: return detailed connection error for InfluxDB 2020-04-10 19:56:08 +03:00
Mario Dominguez
59a8fb1065 Problems: Pass scopedVars into replaceTemplateVars() function. (#913)
Co-authored-by: Mario Dominguez <mario.dominguez@datadope.io>
2020-04-10 11:29:52 +03:00
Alexander Zobnin
4adfb12d59 Update release date 2020-03-23 16:15:58 +03:00
Alexander Zobnin
2761b4d966 Migrate dataSourceSrv to getDataSourceSrv 2020-03-23 16:05:31 +03:00
Alexander Zobnin
dad0fd965d Migrate backendSrv to getBackendSrv, fix direct DB connection 2020-03-20 17:03:49 +03:00
Alexander Zobnin
4daee57681 Bump version to 3.11.0 2020-03-20 16:27:11 +03:00
Alexander Zobnin
9fd386a6ee Problems: fix panel rendering in 6.7, fixes #907 2020-03-20 09:29:06 +03:00
memfiz
94c5059fb1 fix event severity change (#872)
* fixed panel trigger severity if it is changed in event

* fixed panel trigger severity if it is changed in event

* fixed lastEvent check

* removed a comment

* fixed lastEvent check not empty
2020-01-24 16:39:15 +03:00
Alexander Zobnin
f7adf0e379 Merge branch 'master' into backend 2020-01-16 12:34:25 +03:00
Alec Sears
92e77617cf [Backend] Merge 'master' changes into the backend (#875)
* CI: fix shellcheck issues (#789)

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>

* annotations: fix options in grafana 6.x, fix #813

* fix function editor in Grafana 6.4, closes #810

* add typings for grafana packages

* Add $__range_series variable for calculating function over the whole series, #531

* fix tests

* Don't set alert styles for react panels, fix #823

* docs: add range variables

* docs: percentile reference

* fix codespell

* update packages (build with node 12)

* update circleci node image to 12

* fix test configuration (babel)

* Fix 817 (#851)

* problems: update panel schema

* update packages (build with node 12)

* problems: use datasource from target

* problems: fix query editor after schema update

* problems: fix list layout

* update circleci node image to 12

* fix tests

* build(deps-dev): bump lodash from 4.17.10 to 4.17.13 (#852)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>

* fix packages security alerts

* problems: fix tags adding and removal

* fix adding func from typeahead, closes #468

* update change log

* bump plugin version to 3.10.5

* problems: fix tag removal (list layout)

* Fix percentile() function, closes #862 (#863)

Like the other aggregation functions, the datapoints need to be sorted in
time before calling groupBy_perf().

* Update copyright, happy New Year!

* fix not acknowledged problem color with a message (#858)

* fix not acknowledged problem color with a message

* fix not acknowledged problem color with a message, closes #857

* 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

* Fixes for backend

Co-authored-by: Mario Trangoni <mario@mariotrangoni.de>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Reibert <mreibert@netskope.com>
Co-authored-by: memfiz <arnis.civciss@gmail.com>
2020-01-15 14:48:43 +03:00
Alexander Zobnin
376183e8e4 Transform percentile function, closes #868 2020-01-15 11:02:17 +03:00
Alexander Zobnin
7653bacce9 fix linter errors 2020-01-14 17:56:44 +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
memfiz
4f24b2bf23 fix not acknowledged problem color with a message (#858)
* fix not acknowledged problem color with a message

* fix not acknowledged problem color with a message, closes #857
2020-01-13 10:58:01 +03:00