Commit Graph

271 Commits

Author SHA1 Message Date
Alexander Zobnin
916c570664 Fix severity for resolved problems, closes #909 2020-04-13 15:55:25 +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
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
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
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
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
Alexander Zobnin
d54d6d29dc problems: fix tag removal (list layout) 2019-12-30 10:36:36 +03:00
Alexander Zobnin
1e6ca2d518 problems: fix tags adding and removal 2019-12-26 17:06:15 +03:00
Alexander Zobnin
ff4ad1997f 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
2019-12-25 14:24:15 +03:00
Alexander Zobnin
55ffe5eded Problems: fix heart icons, fix #754 2019-08-08 12:34:21 +03:00
Alexander Zobnin
e02b660dfd Problems panel: use skipDataQuery flag instead of deprecated dataFormats, fix #778 2019-08-08 12:00:05 +03:00
Alexander Zobnin
f76cff2b89 Problems: fix multiline description at List view, closes #704 2019-04-22 15:51:07 +03:00
Alexander Zobnin
f908376802 Problems panel: hide acknowledge button for read-only users, fix #722 2019-04-22 13:10:23 +03:00
Alexander Zobnin
bc889ffe30 Fix problems fetching performance and memory issues (#724)
* request only alert message when invoking alert.get

* fetch problem alerts on demand

* problems panel: refactor
2019-04-22 12:29:05 +03:00
Alexander Zobnin
7e73219b7b problems: fix duplicated page size entries, closes #696 2019-03-05 12:27:13 +03:00
Alexander Zobnin
e4947b6e19 problems: fix acknowledged event color, closes #676, #681 2019-03-04 16:45:37 +03:00
Alexander Zobnin
c415e82ce3 problems: fix "acknowledged" filter, closes #678, #691 2019-03-04 16:00:11 +03:00
Alexander Zobnin
956ad652fb problems: fix panel update when datasource removed from targets 2019-03-01 13:12:08 +03:00
Alexander Zobnin
a71d101f77 problems: fix datasource selector, closes #692 2019-03-01 13:10:36 +03:00
Alexander Zobnin
18babc8e5f problems: fix panel editor in Grafana 6.0, closes #685 2019-03-01 12:13:16 +03:00
Alexander Zobnin
612052ed33 problems: hide unrelated view options 2019-02-13 22:13:34 +03:00
Alexander Zobnin
cdedf5ab45 problems: fix alert list layout 2019-02-13 20:25:04 +03:00
Alexander Zobnin
9cabb58ac1 problems: make timeline optional 2019-02-13 20:21:18 +03:00
Alexander Zobnin
98ff776f3a problems: remove debug logging 2019-02-13 19:54:36 +03:00
Alexander Zobnin
55f206d091 problems: don't display empty acknowledges list 2019-02-13 11:52:32 +03:00
Alexander Zobnin
fd2265bda6 problems: fix type imports 2019-02-12 22:47:57 +03:00
Alexander Zobnin
73d6c542c9 fix Problems panel tests 2019-02-12 22:41:33 +03:00
Alexander Zobnin
8809b5a9d3 problems: use event tags for problems instead of trigger tags, #487 2019-02-12 22:28:06 +03:00
Alexander Zobnin
496d4a8d57 problems: minor refactor 2019-02-12 22:28:06 +03:00
Alexander Zobnin
8fe4d7b6dc rename Zabbix triggers panel to Zabbix Problems 2019-02-12 22:28:06 +03:00
Alexander Zobnin
410de2dc6b problems: refactor 2019-02-12 22:28:06 +03:00
Alexander Zobnin
12ccba0187 problems: remove tag filter with Ctrl/Shift+click 2019-02-12 22:28:06 +03:00
Alexander Zobnin
b292426cb5 problems: don't show ':' in tags if value omitted, fixes #579 2019-02-12 22:28:05 +03:00
Alexander Zobnin
38bf47f832 problems: refactor 2019-02-12 22:28:05 +03:00
Alexander Zobnin
a40ae929c5 problems: minor refactor 2019-02-12 22:28:05 +03:00
Alexander Zobnin
056be6a7f2 tests: fix React import error 2019-02-12 22:28:05 +03:00
Alexander Zobnin
666b54e159 fix linter errors 2019-02-12 22:28:04 +03:00
Alexander Zobnin
d7db242426 fix problems panel tests 2019-02-12 22:28:04 +03:00
Alexander Zobnin
ba2c6aff99 problems: add layout options 2019-02-12 22:28:04 +03:00
Alexander Zobnin
a61f219dfc problems: font size for alert list layout 2019-02-12 22:28:04 +03:00
Alexander Zobnin
74ea451da9 problems: fix ack tooltip styles for alert list 2019-02-12 22:28:04 +03:00
Alexander Zobnin
79e4ec884a problems: fix background highlight for alert list 2019-02-12 22:28:04 +03:00
Alexander Zobnin
195373953c problems: fix alert list styles 2019-02-12 22:28:03 +03:00
Alexander Zobnin
466b328ad7 problems: implement alert list layout 2019-02-12 22:28:03 +03:00
Alexander Zobnin
268de33d96 problems: limit events in timeline 2019-02-12 22:28:03 +03:00
Alexander Zobnin
8f29fe564d problems: fix age in problem details 2019-02-12 22:28:03 +03:00
Alexander Zobnin
1d881dca40 problems: show age field 2019-02-12 22:28:03 +03:00
Alexander Zobnin
c4b0c6da07 problems: mark acknowledged problems with different color 2019-02-12 22:28:03 +03:00