Commit Graph

53559 Commits

Author SHA1 Message Date
antonio
2226446318
tutorial : alerts with logs : add missisng interactive (#92800) 2024-09-02 10:48:40 +00:00
Esteban Beltran
51e27b8f3b
Chore: Update commands.json to expand labels and their related projects (#92734)
* Chore: Update commands.json to expand labels and their related projects

* Fix trailing slashes
2024-09-02 11:27:22 +02:00
linoman
8c92d2a0ef
SAML: Add description for Graph API permissions step (#92408)
* Add description for permissions step

* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-09-02 11:23:02 +02:00
Victor Marin
47a0efd581
DashboardScenes: Default to first variable value when editing a repeated panel (#91123)
* DashboardScenes: Default to first variable value when editing a repeated panel

* cleanup

* tests

* refactor

* refactor

* refactor

* refactor
2024-09-02 12:05:14 +03:00
renovate[bot]
cf541b8869
Update dependency tslib to v2.7.0 (#92744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
Ashley Harrison
714f2d6d51
Playlist: Add default border radius to PlaylistTableRows (#92666)
add default border radius to PlaylistTableRows
2024-09-02 09:39:47 +01:00
Konrad Lalik
5942d8595d
Alerting: Fix pending period for vanilla prom rules (#92728)
* Add support for reading pending period value from prom duration property

* Add tests

* Refactor the hook

* Remove unused import
2024-09-02 10:32:47 +02:00
Isabella Siu
2d10068714
CloudWatch: Logs queries should retry on throttling errors (#92535)
CloudWatch: logs queries should retry on throttling errors
2024-08-30 13:55:00 -04:00
Señor Performo - Leandro Melendez
d6f871490e
docs: Canvas updates adding why and how describing data needs (#92375)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2024-08-30 13:18:12 -04:00
Señor Performo - Leandro Melendez
129783ad8c
docs: Histogram update added missing options (#92617)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-30 13:14:36 -04:00
Señor Performo - Leandro Melendez
88d12be9f2
docs: Alert list update adding missing elements and descriptions. (#92619)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-30 12:19:43 -04:00
Piotr Jamróz
3b7021dabc
FieldConfig: Add missing "min/max" FieldConfigProperty option (#92596)
Add missing FieldConfigProperty standard option
2024-08-30 17:16:22 +02:00
Señor Performo - Leandro Melendez
7ce5ce4957
docs: updates to Pie chart documentation (#91608)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2024-08-30 11:16:11 -04:00
Tom Ratcliffe
9f5dca96f2
Alerting: Don't redirect after failed contact point creation (#92761) 2024-08-30 16:04:46 +01:00
Adela Almasan
91cbaa4afe
Table: Fix JSON formatting (#92715) 2024-08-30 17:51:51 +03:00
Victor Marin
962fcf1fa8
DashboardScenes: Row repeater panels cannot be dragged outside and adding new panels to a cloned row updates all rows (#91062)
* Disallow dragging panels in repeated rows + dropping panels into cloned rows will update all repeated rows

* test
2024-08-30 09:50:22 -04:00
Tom Ratcliffe
172662af58
Alerting: Stop rule state view from crashing when prom rule state is missing (#91483) 2024-08-30 14:47:28 +01:00
Victor Marin
a0c1fc20ec
DashboardScene: Update view panel scene variables properly after row repeat is performed (#92698)
* update view panel scene variables properly after row repeat is performed

* refactor

* Fix case where view mode from panel menu would not work

Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com>

* add context

---------

Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com>
2024-08-30 16:36:22 +03:00
Isabel Matwawana
b788f43cee
Docs: Moved data source UID info into technical notes (#92712) 2024-08-30 09:34:30 -04:00
Señor Performo - Leandro Melendez
f048c3273b
docs: StatusHistory update added missing option and reordered headers (#92613)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-30 09:28:50 -04:00
Jack Baldry
7473ad6469
Lint "RBAC permissions, actions, and scopes" page for style (#92740) 2024-08-30 14:11:35 +01:00
Karl Persson
294712d7ef
User: Add sub resource and api for user teams (#92649)
* Add sub resource for user teams

* Add test snapshots

* Update to use ref:s
2024-08-30 15:05:27 +02:00
Torkel Ödegaard
31c9084a3a
DashboardGridItem: Fixes repeating panels issue when variable depends on time range (#92661)
* DashboardGridItem: Fixes repeating panels issue when variable depends on time range

* tests

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
2024-08-30 15:50:09 +03:00
Sergej-Vlasov
00ae49a61a
FeatureToggle - new filters UI feature toggle (#92189)
* add newFiltersUI experimental feature toggle

* adjust Ad hoc filter varibale layout property based on feature toggle

* restore file

* bump to latest scenes
2024-08-30 15:48:13 +03:00
Tom Ratcliffe
3262f0256e
A11y: Fix some accessibility issues on the build error page (#92691)
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-08-30 13:42:45 +01:00
Ashley Harrison
a59474cf13
Chore: Migrate _forms styles to emotion globals (#92690)
migrate _forms styles to emotion globals
2024-08-30 13:04:31 +01:00
antonio
1f01a679f6
tutorial: link fix (#92748)
* tutorial: link fix

* typo

* link to tutorial pt 2
2024-08-30 11:56:16 +00:00
antonio
f670cf7920
update + sandboxfy tutorial (#92419)
* update + sandboxfy tutorial

* fix formatting

* update

* update2

* numbering

* final draft v1

* draft v1

* added jay's feedback

* query

* latest fixes

* typo

* all pretty no pity
2024-08-30 13:15:35 +02:00
Tom Ratcliffe
690fbe6077
Alerting: Edit, create and delete contact points via k8s API (#91701) 2024-08-30 12:10:30 +01:00
grafana-pr-automation[bot]
f4a8e0a214
I18n: Download translations from Crowdin (#92696)
* New Crowdin translations by GitHub Action

* New Crowdin translations by GitHub Action

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
2024-08-30 14:00:10 +03:00
Ieva
b99d1249db
Docs: Update the docs for folder creation permissions (#92703)
* update the docs to reflect permissions needed to create subfolders

* Minor language fix

---------

Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-08-30 10:55:32 +00:00
Alexander Akhmetov
152d3540db
Alerting: Log number of dimensions instead of all evaluation results (#92733) 2024-08-30 12:35:02 +02:00
renovate[bot]
a0e237dacf Update dependency eslint-plugin-jest to v28.8.1 2024-08-30 10:05:24 +00:00
Ashley Harrison
c16cc488c9
AdHocFilters: Add support for new isOneOf multi value operator (#91837)
* handle oneOf operator in prometheus

* use new supportsMultiValueOperators

* remap oneOf to regex in prometheus datasource

* Remap one of operators for scope filters

* use plugin.json property instead of feature toggle

* optional chaining

* fix unit tests

* use getInstanceSettings

* update to latest scenes

* fix unit tests

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-08-30 11:03:44 +01:00
Leonor Oliveira
2e451b2ed7
Use dw dynamic config (#91882)
* Remove kubernetesPlaylists feature_toggle

* Remove unified_storage_mode

* Remove double import

* Read from config instead from feature_toggle

* cover scenario for when unified storage is not defined

* Be temporarily retro compatible with previous feature toggle

* Properly read unified_storage section

* [WIP] Read new format of config

* Fix test

* Fix other tests

* Generate feature flags file

* Use <group>.<resource> schema

* Use <group>.resource format on the FE as well

* Hide UniStore config from Frontend

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>

* unwanted changes

* Use feature toggles in the FE. Enforce FTs are present before enabling dual writing
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com>

* use kubernetes playlists feature toggle on the FE

* Remove unwanted code

* Remove configs from the FE

* Remove commented code

* Add more explicit example

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
Co-authored-by: Maicon Costa <maiconscosta@gmail.com>
2024-08-30 11:59:42 +02:00
renovate[bot]
f8765087b5 Update dependency @tanstack/react-virtual to v3.10.6 2024-08-30 09:44:21 +00:00
antonio
cf951ab589
tutorials: sandboxfy grafana fundamentals (#92206)
* tutorials: sandboxfy grafana fundamentals

* applied feedback

* applied feedback2

* fixed description

* interactives

* ignore new tab instructions

* ignore new tab

* update instructions

* updated alert term / alert isntance

* fix numbering

* adding Lisa's feedback

* changees to fundamentals tutorial

* Fix minor typos and style

* all pretty, no pity

---------

Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-08-30 11:42:46 +02:00
Pepe Cano
6a29e4aecf
IAM docs: Transform API keys to Migrate API keys docs (#92380)
* IAM docs: Transform `API keys` to `Migrate API keys` docs

* Update links to `API keys` in other doc pages

* Grafana UI: update help button link

* Update OpenAPI/Swagger links

* Update docs/sources/administration/service-accounts/migrate-api-keys.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update `relref` links to the new URL

* fix space before em dash

spaces before or after em dashes are not recommended (https://developers.google.com/style/dashes)

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-08-30 11:37:36 +02:00
renovate[bot]
48f8be2cfc Update dependency @babel/runtime to v7.25.6 2024-08-30 09:22:20 +00:00
Alex Khomenko
6abf50b0c9
Routing: Update core tests (#92582)
* Update MegaMenu.test.tsx

* Update GrafanaRoute.test.tsx

* Remove unused file

* Update SignupInvited.test.tsx

* Remove usage of match

* Update betterer
2024-08-30 12:01:32 +03:00
renovate[bot]
acab4c9438
Update dependency msw to v2.4.1 (#92648)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 11:50:49 +03:00
Pepe Cano
fcb4b3d39e
Docs: keep the HTTP API list updated (#92635)
* Docs: keep the HTTP API list updated

* Update menu title to be consistent with the HTTP API list

* Update docs/sources/developers/http_api/preferences.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/developers/http_api/snapshot.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-08-30 10:27:24 +02:00
Erik Sundell
db0cc24f2b
Plugin extensions: Introduce new registry for added links (#92343)
* add added component registry

* fix broken test

* add tests for usePluginComponents hook

* readd expose components

* add type assertion exceptions to betterer results

* use new addedComponent registry in legacy endpoints

* remove unused code

* cleanup

* revert test code

* remove commented code

* initial commit

* refactor sync method and hook

* fix tests

* subscribe to the correct registry

* remove old registry

* cleanup types

* add use usePluginLinks hook

* add more tests

* fix import order

* fix typo

* fix and temporarly skip failing tests

* wip

* add hook tests

* add more tests

* remove old hook

* fix versioning

* add version to all extension point ids

* remove cleanup

* remove unused imports

* revert touched file

* fix test

* test: remove hook creation

* catch init error

* send error to faro

* fix broken hook

* comment out call hook initialization

* use the right import ofr isString

* remove unused import

* remove registryState type

* pr feedback

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* remove no longer relevant comment

* fix broken tests

* Fixed test to verify that the memotization works properly.

* simplify hooks

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-08-30 10:09:01 +02:00
brendamuir
16c618f4d3
Alerting docs: add info on changing default time out for evaluation (#92391)
* Alerting docs: add info on changing default time out for evaluation

* ran prettier

* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md

Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com>

* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md

Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com>

* ran prettier

* updates with yuris feedback

* ran prettier

---------

Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com>
2024-08-30 09:46:55 +02:00
Konrad Lalik
e0950a1283
Alerting: Add compatibility between prometheus and ruler identifiers (#92496)
* Unify Prom and Ruler rules hash creation

* Add tests, refarct prom hash
2024-08-30 08:39:11 +02:00
Jeff Levin
372d0acec8
Instrument tracing across dashboards (#91937)
Add tracing across dashboards and accesscontrol
2024-08-29 22:26:15 -08:00
Yuri Tseretyan
ce64d79027
Alerting: Integration tests for Receiver API (#90632)
---------

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2024-08-29 22:27:26 -04:00
Sergej-Vlasov
c4d804a964
ImportDashboard: adjust flaky e2e test (#92705)
adjust test to wait for monaco editor
2024-08-29 16:21:05 -04:00
Matthew Jacobson
d5fd6aceca
Alerting: Stop redacting receivers by default in receiver_svc (#92631)
* Stop redacting receivers by default in receiver_svc

[REDACTED] is only used in provisioning API since response doesn't include
SecureFields. This is not necessary in k8s or notifications api, instead we do
not include the encrypted settings in Settings at all, leaving it to
SecureFields to specify when a secure field exists.

* Capitalize logs messages
2024-08-29 14:48:59 -04:00
Juan Cabanas
eb8b6a5a70
ShareDrawer: Wording and defaults improvements (#92629) 2024-08-29 15:31:28 -03:00