Leon Sorokin
130d561924
Chore: Restore some removed UI components to reduce BC surface area ( #85546 )
2024-04-04 04:31:28 -05: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
renovate[bot]
6fd8c4afcf
Update dependency @grafana/scenes to v4.3.0 ( #85569 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 11:32:07 +03:00
Karl Persson
504870f10a
Auth: Decouple client and hook registration ( #85084 )
2024-04-04 09:33:00 +02:00
Marcus Efraimsson
bdc492b96c
Chore: Upgrade grafana-plugin-sdk-go ( #85562 )
2024-04-04 08:07:29 +03:00
github-actions[bot]
801d19d816
I18n: Download translations from Crowdin ( #85553 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-04 04:52:30 +00:00
Todd Treece
c01531dc79
K8s: Use tracing handler from component-base ( #85560 )
2024-04-04 00:39:09 +03:00
Tristan
77133ac9c1
CloudWatch: Fix SageMaker MBP namespace typo ( #85557 )
2024-04-03 15:50:09 -04:00
Kyle Cunningham
075976bea6
Transformations: Add applicability function to group to nested table ( #85501 )
...
* Add applicability function to group to nested table
* codeincarnate/group-to-nested-cond/ run linter
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-04 02:44:52 +07:00
Michael Mandrus
ddf5fbe591
CMS: Update permissions required to use endpoints ( #85555 )
...
* try different perms
* fix compile issue
* remove ac dependency
* remove dependency
2024-04-03 22:43:48 +03: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
William Wernert
cad8190a91
Alerting/Annotations: Return nothing from historian store if filtering by tags and matchAny is false ( #85488 )
...
* Return nothing from historian store if filtering by tag
2024-04-03 13:01:13 -04:00
Leonard Gram
a457ab3192
Cloudmigration: decode json data ( #85548 )
...
* decode get
* decode bytes
* response
* .
* linter
* quick fixes
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-04-03 18:47:49 +02:00
Ihor Yeromin
e4c92483dc
Canvas: Fix ellipse migration ( #85482 )
...
* fix(canvas): ellips migration
2024-04-03 19:29:17 +03:00