Commit Graph

298 Commits

Author SHA1 Message Date
Alexander Zobnin
9f69dc9b48 Problems: use metrics query type for single item, #948 2020-05-18 14:21:14 +03:00
Alexander Zobnin
cdb09127fb Problems: navigate to Explore button, #948 2020-05-18 14:13:12 +03:00
Alexander Zobnin
4f9202423b Problems: add ack field to table view, closes #946 2020-05-18 12:59:31 +03:00
Alexander Zobnin
a3f45f1bb8 Problems: show maintenance icon with host name 2020-05-15 19:50:03 +03:00
Alexander Zobnin
a61816dc1c Problems: highlight resolved events with OK color 2020-05-15 19:21:24 +03:00
Alexander Zobnin
5034c2ca90 Problems: add min severity filter 2020-05-15 19:05:07 +03:00
Alexander Zobnin
b94a6c4841 Problems: add default limit 2020-05-15 18:33:22 +03:00
Alexander Zobnin
056f82731e Problems: use problems.get method for fetching triggers, closes #495 2020-05-15 18:17:54 +03:00
Alexander Zobnin
d4e5ee9a69 Problems: disable limit 2020-05-14 17:22:14 +03:00
Alexander Zobnin
29bb57ab98 Problems panel: clean up 2020-05-14 12:14:35 +03:00
Alexander Zobnin
ba132f3679 Problems: fix host proxy option 2020-05-13 19:04:42 +03:00
Alexander Zobnin
8c149e0b95 Problems: fix re-rendering 2020-05-13 18:58:54 +03:00
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
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
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
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
7f1d4eb313 Problems: use datasource query 2020-05-07 15:01:40 +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
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