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
Tim Levett
a5707788ba
Transformations - make substring and not substring transformer case insensitive. ( #84699 )
...
* make substring and not substring transformer case insensitive
* timlevett/case-insensitive/ run linter
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-03 11:11:09 -05:00
Jean-Philippe Quéméner
7cfd470c91
fix(alerting): only expose metrics if executing alerts ( #85512 )
2024-04-03 17:18:02 +02: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
Señor Performo - Leandro Melendez
f6a94837c5
Docs: add YouTube video link and description ( #85484 )
...
* Update index.md Adding YouTube video link and description
Added a short description about the video and added the video to the page.
* Update docs/sources/panels-visualizations/visualizations/logs/index.md
Some edits went in. All nice :)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Removed repetition
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-03 10:33:50 -04:00
Pepe Cano
a56a842d5f
Alerting docs: fix docs/shared
API to render the current version ( #85526 )
2024-04-03 16:04:58 +02:00
Fabrizio
027329d4b6
CI: Skip analysis steps if not needed ( #85532 )
2024-04-03 17:00:13 +03:00
Simon Podlipsky
61e4cfac65
Docker: Fix missing go dependencies ( #85441 )
...
ci: fix missing go dependencies
```
> [go-builder 11/25] RUN go mod download:
0.303 go: cannot load module pkg/build/wire listed in go.work file: open pkg/build/wire/go.mod: no such file or directory
------
Dockerfile:64
--------------------
62 | COPY pkg/promlib/go.* pkg/promlib/
63 |
64 | >>> RUN go mod download
65 | RUN if [[ "$BINGO" = "true" ]]; then \
66 | go install github.com/bwplotka/bingo@latest && \
```
2024-04-03 14:01:09 +01:00
brendamuir
847d2b01b6
Alerting docs: note on images in notifications for cloud ( #85529 )
2024-04-03 14:32:56 +02:00
antonio
561838a87d
convert telegram blog post to doc ( #85231 )
...
* convert telegram blog post to doc
* pretty
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-slack.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-telegram.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* applied suggested changes
* fixed typo
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-04-03 14:28:50 +02:00
Simon Podlipsky
708ee9f9ee
Docker: Do not run apk on non-alpine distros ( #83361 )
2024-04-03 13:21:27 +01:00
Josh Hunt
e08b5bd456
E2C: Fix Swagger spec for createMigration post body ( #85525 )
...
* E2C: Fix Swagger spec for CreateCloudMigration post body
* actually, don't rename that type
2024-04-03 11:59:50 +00:00
idafurjes
b885da09da
CloudMigrations: Implement migrations API ( #85348 )
...
* Implement run migration endpoint
* Refactor RunMigration method into separate methods
* Save migration runs fix lint
* Minor changes
* Refactor how to use cms endpoint
* fix interface
* complete merge
* add individual items
* adds tracing to getMigration
* linter
* updated swagger definition with the latest changes
* CloudMigrations: Implement core API handlers for cloud migrations and migration runs (#85407 )
* implement delete
* add auth token encryption
* implement token validation
* call token validation during migration creation
* implement get migration status
* implement list migration runs
* fix bug
* finish parse domain func
* fix urls
* fix typo
* fix encoding and decoding
* remove double decryption
* add missing slash
* fix id returned by create function
* inject missing services
* finish implementing (as far as I can tell right now) data migration and response handling
* comment out broken test, needs a rewrite
* add a few final touches
* get dashboard migration to work properly
* changed runMigration to a POST
* swagger
* swagger
* swagger
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
2024-04-03 13:36:13 +02:00
Ivan Ortega Alba
89638238e5
DashboardScene: Detect changes when live is enabled from settings ( #85409 )
...
* Adapt the code to the new live timer API
* Update scenes
2024-04-03 14:22:10 +03:00
Laura Fernández
4845b1e3c6
ServiceAccount : use InteractiveTable
( #85203 )
2024-04-03 13:12:23 +02:00
Ieva
beb15d938b
RBAC: Fix access checks for interactions with RBAC roles in hosted Grafana ( #85485 )
...
* don't check global permissions for cloud instances
* linting
2024-04-03 11:44:16 +01:00
Ivan Ortega Alba
eb3d088645
DashboardScene: Implement autofit panels ( #85221 )
2024-04-03 13:36:29 +03:00
Sonia Aguilar
034931f9e1
Alerting: Set mimir implementation in jsonData by default when creating a new a… ( #85513 )
...
Set mimir implementation in jsonData by default when creating a new alert manager data source
2024-04-03 12:31:49 +02:00
Dominik Prokop
b4dc79401b
DashboardScene: Fix explore to dashboard flow ( #85140 )
...
* DashboardScene: Fix explore to dashboard flow
* Tests
* Make sure dashboard is in edit mode when adding from explore
* Allow discarding changes when coming from explore
* Tests
2024-04-03 12:06:38 +02:00
github-actions[bot]
80b8b86c00
I18n: Download translations from Crowdin ( #85515 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-03 12:18:42 +03:00
Gábor Farkas
8159e1db3a
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx (#8… ( #85509 )
...
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx (#83768 )"
This reverts commit ecd6de826a
.
2024-04-03 11:02:22 +02:00
Josh Hunt
ffb5d23a13
E2C: Hook Cloud Receiver-side up to real CreateCloudMigrationToken API ( #85490 )
...
E2C: Hook Cloud Reciever-side up to real CreateCloudMigrationToken API
2024-04-03 08:55:38 +00:00
Giordano Ricci
ff39067605
Explore: Make Explore breadcrumb clickable ( #85437 )
...
* Explore: make Explore breadcrumb a link to an empty Explore page
* update tests
2024-04-03 09:24:04 +01:00
antonio
826fa2f2db
alerging-get-started: update ( #85434 )
...
* alerging-get-started: update
* Update index.md
* Update index.md
2024-04-03 10:18:25 +02:00
Andres Martinez Gotor
9c7237891c
Plugins: Expose ExternalService in request config ( #85187 )
2024-04-03 09:22:34 +02:00
Leon Sorokin
1522499c4a
VizTooltips: Remove remaining old bits ( #85500 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 19:32:01 -05:00
Leon Sorokin
d601acac3a
VizTooltips: Remove old tooltips and annotations ( #84420 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 15:32:46 -05:00