Commit Graph

54097 Commits

Author SHA1 Message Date
Laura Benz
bc3e1df5e3
RestoreDashboards: Improve tracking (#93934)
feat: add tracking in DeleteModal
2024-10-01 15:27:25 +02:00
Laura Benz
6a30240f58
RestoreDashboards: Fix 'Dashboards' typo in folder picker (#94046)
fix: typo
2024-10-01 15:25:04 +02:00
Alexa V
5cc11bd1a1
Dashboard Scene: Improve Angular experience (#92847)
In Dashboard Scene: 

* Display a warning in the panel header when rendering an angular panel
* Display a warning in the dashboard when rendering one or more angular panels
* Display a button to migrate in the dashboard banner
* Display a button to migrate in the panel editor
* Display a button to "Edit options" when it is an Angular panel, to open the panel JSON inspector to be able to edit the options
* Add tests

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-10-01 15:02:13 +02:00
Juan Cabanas
6c91b65aca
ShareButton: Split copy link button and dropdown (#94020) 2024-10-01 09:46:32 -03:00
grafana-pr-automation[bot]
dc31bbb555
I18n: Download translations from Crowdin (#94065)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 14:24:52 +02:00
Matheus Macabu
821bb235b3
CloudMigrations: document and re-generate api for syncing (#94063)
* CloudMigrations: document frontend open-api generator steps

* CloudMigrations: re-run api generation
2024-10-01 14:09:42 +02:00
Arati R.
e399fe6d09
Folders: Set folder creation permission as part of legacy create (#94040)
* Add folder store to dashboard permissions
* Include folder store in annotation scope resolver
* Add folder store when initialising library elements
* Include folder store in search v2 service initialisation
* Include folder store in GetInheritedScopes
* Add folder store to folder permissions provider
* Include cfg, folder permissions in folder service
* Move setting of folder permissions for folder service create method
2024-10-01 14:03:02 +02:00
Kyle Brandt
2a73b89374
Prometheus: Add resource for suggestions that include scopes/adhoc filters (#94001)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2024-10-01 07:17:59 -04:00
Alex Khomenko
a20ebbc8f8
Routing: Replace useHistory hook (#94061)
* Update ConfigureIRM

* Update Browse
2024-10-01 14:11:58 +03:00
Tim Levett
8de1047f65
Change from Apps to "More Apps" (#93454)
* Change the label used for additional app links from apps to more apps so it doesn't conflict with applications, which is application observability, not the other bucket

* update to more apps

* more in german is mehr

* fix case, update translations correctly

* revert changes to de

* fix be tests

---------

Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-10-01 11:31:31 +01:00
Alex Khomenko
95d379368a
Announcement banner: Enable feature toggle by default (#94041)
* Announcement banner: Enable by default

* Update feature stage
2024-10-01 11:23:21 +01:00
Pepe Cano
38ad0d3ebf
Alerting docs: relocate Intro>Notifications>Templates (#94057)
* Alerting docs: relocate `Intro>Notifications>Templates`

* Rename to `Templates`
2024-10-01 12:08:47 +02:00
Ashley Harrison
a8b94fe203
SingleTopNav: Move org switcher into Megamenu header (#94053)
move org switcher into megamenu header
2024-10-01 10:55:48 +01:00
Bogdan Matei
137da12c99
Fix panel search (#94043) 2024-10-01 12:45:31 +03:00
renovate[bot]
8338e92a70
Update dependency sass-loader to v16 (#94006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 10:30:32 +01:00
Alexander Zobnin
9144e3b44a
Navigation: Fix empty admin menu (#94024) 2024-10-01 11:28:33 +02:00
Robert Goltz
299fe3e5b1
Chore: bump module github.com/rs/cors from v1.10.1 to v1.11.1 (#93363)
* Chore: Update module github.com/rs/cors to v1.11.0

* Fix: rs/cors to v1.11.1 to benefit from fix regarding support for multiple Access-Control-Request-Headers field, e.g. API Gateway

* update go.sum

---------

Co-authored-by: Jo <me@jguer.space>
2024-10-01 10:59:23 +02:00
ismail simsek
f8fd45892d
Chore: Fix legend changing when using incremental querying (#93529)
* rename variables

* fix setting legend

* yarn prettier:write

* only update displayNameFromDS
2024-10-01 10:58:08 +02:00
Sergej-Vlasov
d75fee5207
DataTrail: Remove newFiltersUI feature toggle usage from explore metrics (#93693)
remove newFiltersUI feature toggle usage from explore metrics
2024-10-01 09:45:16 +01:00
Dana Axinte
1a31abe254
CloudMigrations: Limit frontend query to get latest snapshots (#93639)
* latest param to endpoint and adapt frontend query

* change to sort param

* api

* remove description
2024-10-01 09:28:25 +01:00
grafana-pr-automation[bot]
8b6cbae96b
I18n: Download translations from Crowdin (#94032)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 06:22:27 +01:00
Michael Mandrus
1c648fd010
Chore: Fix flaky cloud migration test (#94035)
* attempt to fix flaky test

* remove skip from test
2024-10-01 03:24:47 +01:00
Yuri Tseretyan
0c1aafd643
Alerting: skip flaky test TestBroadcastAndHandleMessages (#94039) 2024-09-30 18:50:55 -04:00
Alexander Weaver
393faa8732
Alerting: Move rule evaluation status logic out of prometheus API and into scheduler (#89141)
* Add health fields to rules and an aggregator method to the scheduler

* Move health, last error, and last eval time in together to minimize state processing

* Wire up a readonly scheduler to prom api

* Extract to exported function

* Use health in api_prometheus and fix up tests

* Rename health struct to status

* Fix tests one more time

* Several new tests

* Handle inactive rules

* Push state mapping into state manager

* rename to StatusReader

* Rectify cyclo complexity rebase

* Convert existing package local status implementation to models one

* fix tests

* undo RuleDefs rename
2024-09-30 16:52:49 -05:00
owensmallwood
6a3eb276ef
Grafana Indexing PoC: Adds feature flag and gRPC endpoint (#93356)
* adds Filter gRPC and make protobuf

* adds route for querying the filter gRPC

* wires up Filter gRPC call

* [WIP] index from start

* renames gRPC endpoint to "Search"

* adds /apis/search route into k8s routes. Hacky for now.

* updates readme - wrong casing

* adds feature toggle for unified storage search

* hides US search behind feature flag. Clean up print statements.

* removes indexer - will be added in another PR

* Search: Add API Builder

* adds required method

* implementing UpdateAPIGroupInfo (WIP)

* adds groupversion

* commenting out for now

* remove unneeded code from experimenting and update register.go to match interface required

* namespaces search route

---------

Co-authored-by: leonorfmartins <leonorfmartins@gmail.com>
Co-authored-by: Todd Treece <todd.treece@grafana.com>
2024-09-30 13:46:14 -06:00
Sonia Aguilar
cebcb38df2
Alerting: Style nits for the simple query mode (#93930)
* Style nits for the simple query mode

* update translations

* update text

* update translations

* update disable word to deactivate

* update preview text when not advanced options

* update text

* update text
2024-09-30 19:47:16 +01:00
dependabot[bot]
52f208d3ac
Bump github.com/beevik/etree from 1.2.0 to 1.4.1 (#90707)
Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/beevik/etree/releases)
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/beevik/etree/compare/v1.2.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/beevik/etree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2024-09-30 17:51:41 +01:00
Santiago
aa77023008
Alerting: Fix panics when attempting to create an Alertmanager after failing (#94023) 2024-09-30 13:50:35 -03:00
Santiago
80611b381c
Alerting: Decrypt secure settings when testing receivers in the remote Alertmanager (#93864)
* Alerting: Decrypt secure settings when testing receivers in the remote Alertmanager

* go work sync

* make update-workspace

* point to latest main in grafana/alerting

* unit test

* import definitions only once
2024-09-30 13:28:30 -03:00
grafana-pr-automation[bot]
fcbaf188c2
I18n: Download translations from Crowdin (#94013)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 17:19:54 +01:00
Matheus Macabu
7bb3fe3da1
CloudMigrations: Remove unused code from sync migration approach (#94016) 2024-09-30 17:54:12 +02:00
Steven Dungan
362b5a1c22
Docs - direction param for Loki in Explore (#91905)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-09-30 16:46:21 +01:00
Alexa V
8b215d60ac
Dashboard Scene: Add sceneGraph missing dependency (#94014)
Add sceneGraph missing dependency
2024-09-30 16:25:58 +01:00
Esteban Beltran
a1cedb4160
Auto triager: Update labels for dashboards squad (#93989) 2024-09-30 17:05:01 +02:00
Torkel Ödegaard
0c22aac7f0
Dashboards: Add support for systemPanelFilterVar and systemDynamicRowSizeVar variables in scenes (#93670)
Co-authored-by: kay delaney <kay@grafana.com>
2024-09-30 15:46:43 +01:00
brendamuir
bb41ff267b
Alerting docs: updates to default and advanced options (#93999)
* Alerting docs: updates to default and advanced options

* feedback sonia
2024-09-30 16:41:44 +02:00
Marcus Efraimsson
b7a7f2bd62
Plugins: Use handler middleware from the SDK (#93445)
updates sdk to v0.251.0
2024-09-30 16:33:15 +02:00
Pepe Cano
54faa541c3
Alerting docs: Move the Condition operators to the Classic condition section (#93997)
Alerting docs: Move the `Condition operators` to the Classic conditions section
2024-09-30 16:23:37 +02:00
Joao Silva
b937b70a46
Internationalization: Restore some plurals text (#94002) 2024-09-30 15:05:16 +01:00
grafana-pr-automation[bot]
ae05e4422d
I18n: Download translations from Crowdin (#93983)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 15:00:20 +01:00
Joao Silva
a45662bf2d
Revert "Restore Dashboards: Add e2e tests (again) (#93214)" (#94003) 2024-09-30 14:26:16 +01:00
Bruno
6f92fd64ce
Cloud migrations: add more context to errors (#93814)
* Cloud migrations: add more context to errors

* calls to assert.ErrorIs was passing arguments in the wrong order
2024-09-30 09:57:25 -03:00
Kristina
ddbf0a05af
Correlations: Update docs to include information on external correlation type (#93772)
Change docs to reflect different correlation types
2024-09-30 07:43:45 -05:00
Georges Chaudy
0a26c9e9ae
Unistore : Ensure Watch works in HA mode. (#93428)
* Replace Watch with WatchNext

* remove watchset

* fix previous page and closing the channel

* Remove the broadcaster cache to prevent dupplicated events

* add watch bookmark

* add watch bookmark

* cleanup comments

* disable the tests for bookmarks for now

* Ensure we send previosu events

* lint

* re-introduce the cache

* load from cache

* disabling legacy test

* disabling legacy test

* Update pkg/storage/unified/resource/server.go

Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>

* Could not read previous events

* add proper migration

* Add previous_resource_version to both history and resource

* First event should have an RV of 2 and not 1

* Test both storage backends

* fix the inital RV for the sql backend

* ensure graceful stop of the stream decoder

* gocyclo

---------

Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
2024-09-30 13:14:07 +02:00
Ronald McCollam
e1146120f4
Update MySQL example dashboard (#93853)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-09-30 11:56:12 +01:00
Ronald McCollam
673b98cf10
Add PostgreSQL example dashboard link (#93854)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-09-30 11:56:02 +01:00
Torkel Ödegaard
b17e256a3c
DashboardScene: Fixes url issue with subpath when exiting edit mode (#93962) 2024-09-30 12:19:47 +02:00
Torkel Ödegaard
1c14c85b97
Dashboards: Fixes view & edit keyboard shortcuts when grafana is behind a subpath (#93955)
DashboardScene: Fixes view & edit keyboard shortcuts when grafana is behind a subpath
2024-09-30 12:19:24 +02:00
antonio
e6c962e37c
docs>tutorial:improve set up section (#93988)
* docs>tutorial:improve set up section

* removed section

* simplified content/fixed link
2024-09-30 12:05:39 +02:00
Ivan Ortega Alba
7bca69849f
Dashboards: Enable scenes by default (#93818)
* Mark Scenes feature toggles as GA

* Move old arch e2e to a new folder

* Run E2E on scenes by default

* Upgrade e2e-selectors to ensure the tests in Playwright works
2024-09-30 10:49:02 +01:00