3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Commit Graph

28 Commits

Author SHA1 Message Date
Alex Moreno
53945afedf
Alerting: Allow alert rule pausing from API ()
* Add is_paused attr to the POST alert rule group endpoint

* Add is_paused to alerting API POST alert rule group

* Fixed tests

* Add is_paused to alerting gettable endpoints

* Fix integration tests

* Alerting: allow to pause existing rules ()

* Display Pause Rule switch in Editing Rule form

* add isPaused property to form interface and dto

* map isPaused prop with is_paused value from DTO

Also update test snapshots

* Append '(Paused)' text on alert list state column when appropriate

* Change Switch styles according to discussion with UX

Also adding a tooltip with info what this means

* Adjust styles

* Fix alignment and isPaused type definition

Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>

* Fix test

* Fix test

* Fix RuleList test

---------

Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>

* wip

* Fix tests and add comments to clarify AlertRuleWithOptionals

* Fix one more test

* Fix tests

* Fix typo in comment

* Fix alert rule(s) cannot be paused via API

* Add integration tests for alerting api pausing flow

* Remove duplicated integration test

---------

Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
2023-02-01 13:15:03 +01:00
Konrad Lalik
d2c129fbac
Alerting: Add alert rule cloning action ()
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2022-12-01 16:21:54 +01:00
Sonia Aguilar
30cb04f205
Alerting: move alert rule View/Edit/Delete action buttons to collapsed row ()
* Move view edit and delete buttons to RulesTable

* Move tests for edit and delete buttons to a new test file for RulesTable

* Action buttons: Only show icon for non large screens, and add a Tooltip

* Remove buttons moved from the RuleDetailsActionButtons component

* Fix horizontal aligment for icons for non large devices
2022-10-31 14:42:09 +01:00
Konrad Lalik
5ddf7b85df
Alerting: Alert list performance improvements ()
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2022-10-11 16:24:01 +02:00
Konrad Lalik
f877f79bbc
Alerting: Show evaluation interval global limit warning ()
Co-authored-by: George Robinson <george.robinson@grafana.com>
2022-08-01 15:01:14 +02:00
Konrad Lalik
169a1c5b0f
Use non-blocking way of fetching ruler api availability ()
Co-authored-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-13 11:50:20 +02:00
Gilles De Mey
268ee678b3
Alerting: Adds visual tokens for templates () 2022-06-30 16:19:59 +02:00
Konrad Lalik
765b995b1b
Alerting: Alert rules pagination () 2022-06-22 11:33:39 +02:00
Gilles De Mey
a37b868da7
Alerting: Provisioning UI ()
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2022-06-20 10:55:12 -04:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ()
* Add and configure eslint-plugin-import

* Fix the lint:ts npm command

* Autofix + prettier all the files

* Manually fix remaining files

* Move jquery code in jest-setup to external file to safely reorder imports

* Resolve issue caused by circular dependencies within Prometheus

* Update .betterer.results

* Fix missing // @ts-ignore

* ignore iconBundle.ts

* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Gilles De Mey
be3f52abb1
Alerting: grafana managed group names () 2022-04-20 11:41:33 +02:00
Nathan Rodman
427f75d9b0
Alerting: UI standardization and fixes ()
* Add expand all button for rule list group view

* filter out recording rules by default

* Create rule type filter

* Add placeholder text for inputs

* WIP move Silences to use DynamicTable

* Use dynamic table for silences page

* hide expand all for state list view

* Add placeholders for inputs

* Update selector in receivers test

* Fix strict error for ruleType

* remove redundant placeholder text and cleanup hooks

* add fixed width for schedule

* Rebase with dynamic table for silences

* only show expand/collapse when filters are active
2021-10-01 15:15:55 -07:00
Domas
5ab8d6a3b9
remove guideliens form rule list state table () 2021-08-16 10:12:07 +03:00
Nathan Rodman
a0dac9c6d9
Alerting: Add alertmanager notifications tab ()
* Add alertmanager notifications tab

* Link to silences page from am alert

* Include summary for alertmanager group

* Fix colors for am state

* Add horizontal dividing line

* PR feedback

* Add basic unit test for alert notificaitons

* Rename Notificaitons component file

* Polling interval to groups

* Add alertmanager notifications tab

* Link to silences page from am alert

* Include summary for alertmanager group

* PR feedback

* Add basic unit test for alert notificaitons

* Rename Notificaitons component file

* Alerting: make alertmanager notifications view responsive ()

* refac DynamicTableWithGuidelines

* more responsiveness fixes

* Add more to tests

* Add loading and alert state for notifications

Co-authored-by: Domas <domas.lapinskas@grafana.com>
2021-07-07 16:17:26 -07:00
Domas
e5f6ab7fd2
Alerting: make rule list page work on mobile () 2021-06-23 09:27:47 +03:00
Domas
eaf964a827
Alerting: misc rule list fixes ()
* misc rule table fixes

* rule stats for all rules

* inactive -> normal

* always show tooltip for rule error
2021-05-19 18:54:03 +03:00
Domas
a26507e9c4
Alerting: update panel alert tab () 2021-05-17 10:39:42 +03:00
Domas
ddb2fc1ae6
Alerting: fix maching loki prom rules to rule rules, rename "Inactive" to "Normal" () 2021-05-14 12:41:13 +02:00
Domas
b5b8877253
Alerting: implement deleting templates & receivers () 2021-05-06 14:51:44 +03:00
Domas
10a4606315
Alerting: edit cloud receivers () 2021-05-06 12:32:45 +03:00
Domas
d2d13ea39a
Alerting: miscllaneous UI fixes & improvements () 2021-05-06 11:21:58 +03:00
Torkel Ödegaard
a62bfba63b
Alerting: Updates the new alerting rule table to use new theme () 2021-05-04 13:38:01 +02:00
Domas
e8faec5c19
Alerting: create/edit notification templates () 2021-04-27 16:28:53 +03:00
Domas
60b469f836
Alerting: receivers page + template list () 2021-04-19 13:02:58 +03:00
Domas
382cab6406
Alerting: misc fixes () 2021-04-19 12:53:02 +03:00
Domas
19c6a02f49
Alerting: alert list state view () 2021-04-16 12:08:08 +03:00
Domas
826d82fe95
Alerting: editing existing rules via UI () 2021-04-16 11:08:26 +03:00
Domas
a56293142a
Alerting: unified alerting frontend () 2021-04-07 08:42:43 +03:00