Konrad Lalik
9b4f88c6f6
Alerting: Improve template preview ( #84798 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-04-04 18:37:24 +03:00
Gilles De Mey
d3ee3c0a24
Alerting: Evaluation quick buttons ( #85010 )
...
Co-authored-by: Tom Ratcliffe <tomratcliffe@users.noreply.github.com >
2024-04-04 16:24:35 +02:00
kay delaney
b5c33c540c
Dashboards: Removes descending z-index assignment for grid items ( #85563 )
2024-04-04 14:49:42 +01:00
Isabella Siu
ba3acf83bf
CloudWatch: Clarify match exact tooltip and docs ( #85095 )
...
* CloudWatch: Clarify match exact tooltip
* Update docs
* fix typo
* ida comment and removing a couple "you"s
* present tense
2024-04-04 09:48:48 -04:00
Dominik Prokop
44376f8039
PanelEditor: Fix runtime error caused by panels not installed in Grafana instance ( #85592 )
...
FIx runtime error casued by panels non installed in Grafana instance
2024-04-04 15:45:27 +02:00
Gilles De Mey
c41b0a71cf
Alerting: Add state history polling interval ( #84837 )
2024-04-04 14:06:15 +02:00
Dominik Prokop
32b6ef9d15
Feature toggle to add filter and group by variables to all new dashboards by default ( #85531 )
...
* Add feature toggle
* Add filters and group by variables by default to all new dashboards
* Nits
* Tests
* Rename feature toggle to newDashboardWithFiltersAndGroupBy
2024-04-04 13:25:21 +02:00
Eunice Kim
4e60f44d98
Chore: Fix trailing spaces in prometheus min step ( #85507 )
...
Fix trailing spaces in prometheus min step
2024-04-04 13:14:49 +02:00
Tobias Skarhed
f387cff836
Accessibility: Default Icon to aria-hidden ( #84362 )
...
* Icon: aria hide icon, unless a label is set
* Update doc
* Remove weird auto import
* Fix fialing tests
* Add recommendation for Tooltip
* Consider more aria attributes to support Tooltip
* Handle tabIndex and aria-hidden case
* Add comment about aria-label
2024-04-04 12:07:50 +02:00
kay delaney
9537de26a5
Scenes: Fix issue where annotations with same name wouldn't render properly ( #85489 )
...
Closes #85457
2024-04-04 10:45:24 +01:00
ismail simsek
9c0f9f6ba4
Fix sending maxDataPoints as string ( #85561 )
...
* make sure maxDataPoints is a number
* add migration for maxDataPoints
* remove migration
2024-04-04 11:11:18 +02:00
Giordano Ricci
6ffc08f429
Explore: Set X-Cache-Skip to true for query requests ( #85460 )
...
Explore: set X-Cache-Skip to true for query requests
2024-04-04 09:44:06 +01:00
Josh Hunt
aad79c9400
E2C: Start connecting on-prem to real apis ( #85527 )
...
* E2C: Start connecting on-prem to real apis
* actually run the migration
* show resources
* basic dashboards resources
* show dashboard title
* remove console logs
* cleanup 1
* i18n
* disconnect
* i18n
* restore type
* use fixed format
* fix
2024-04-03 13:47:02 -04:00
Tom Ratcliffe
0ec48cfdbd
Add success toast for rule update back in
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
d585a5bc88
Rename tag for combined alert rules
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
1fcb264c87
Add InfoPausedRule back to alert detail view
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
20a1955026
Reuse StateTag for Paused state
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
0e87adbc97
Remove await from dispatch
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
ff8203a6cf
Forward ref to StateTag so it can work with Tooltip
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
fb40c09eaf
Reuse existing mock user method
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
2ca5e43a65
Remove superfluous alert from pause text
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
30471c340a
Use verbose mutation from RTKQ for better IDE experience
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
28572102cf
Use produce for pause payload generation and return early
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
12eeda5b7d
Hide alert update success toast
2024-04-03 18:38:49 +01:00
Gilles De Mey
fbe43100aa
add paused badge
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
30699dabec
Move repeated Paused message into component
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
31fb80b29a
Move MenuItemPaused to components folder
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
1e54899c6d
Remove unneeded type
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
b037236b9c
Add tag invalidation to updateRule mutation
...
...so the alert detail view updates appropriately
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
9ca2f7bece
Add pause/resume logic to menu items on Alert detail view
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
7d80373b5e
Move repeated menu item logic for pausing rules into separate component
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
b84962ef3f
Update tests to use existing mock server approach
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
5fbca0962e
Fix import/export messing with Policy tests
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
bd06607a51
Fix typing check for paused rules in table
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
820f4f0ef5
Remove console logs, fix aggregate errors and add missing endpoint
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
8c313add00
Add test for resuming a paused alert rule
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
fef481efc3
Add mock data for paused rules
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
5505b72998
Add first pass of basic mock server for alerting usage
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
72a3142c3b
Add pause/resume button with mutation for saving alert rule changes
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
9a416b8241
Fix potential display of "0" on rule details tab
...
When looking at the details tab of an alert rule, the last evaluation could potentially display as `0` due to falsy checks on React rendering
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
a94c3d63cc
Update utils for determining paused state of a rule
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
7fd9cbbfb5
Export alerts limit for reuse when re-fetching rules list
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
1a5d227e05
Hide "firing for time" if a rule is paused
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
93fd11fe86
Update alert state tag to display Paused as its own "state"
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
a881e7e404
Display info message on rule detail view when a rule is paused
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
31be1231cf
Move max width from rule editor parent
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
d0dcb72683
Display info message on rule form when a rule is paused
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
e5a6dff801
Add mutation method to update a rule
2024-04-03 18:38:49 +01:00
Ihor Yeromin
e4c92483dc
Canvas: Fix ellipse migration ( #85482 )
...
* fix(canvas): ellips migration
2024-04-03 19:29:17 +03:00
kay delaney
85127464a3
Scenes: Fix issue where unsaved changes prompt is shown when quickly adding panel to new dashboard ( #85518 )
...
Closes #84577
2024-04-03 15:39:01 +01:00