Commit Graph

53546 Commits

Author SHA1 Message Date
Alexander Zobnin
88259da745
RBAC: Optimize permissions caching (#92673)
* Access control: Use composite cache key for team permissions

* use composite key for teams

* use cache for hotpath (getCachedUserPermissions)

* don't cache empty teams set

* don't pass permissions as argument

* early return if no teams found

* reload cache correctly

* optimize allocations

* Clear user's teams cache

* remove composite cache for teams

* fix linter

* don't clear teams permissions

* pre-allocate memory for basic roles permissions
2024-09-03 15:46:56 +02:00
renovate[bot]
6244c2be2c Update dependency eslint-plugin-jest to v28.8.2 2024-09-03 13:33:28 +00:00
Ivan Ortega Alba
351864653b
Scenes: Upgrade to v5.12.0 (#92862) 2024-09-03 16:05:21 +03:00
Ashley Harrison
f34f5b80b4
Chore: Migrate _widths SCSS to global emotion styles (#92863)
* migrate widths to global styles

* only calculate width once per loop
2024-09-03 16:04:21 +03:00
renovate[bot]
9d974f7560
Update dependency @swc/helpers to v0.5.13 (#92858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 13:44:51 +01:00
Serge Zaitsev
e699a71340
Chore: Bump moby version (#92857)
* bump moby version

* update workspace
2024-09-03 15:43:36 +03:00
Konrad Lalik
1128c417d8
Alerting: Fix cloud rules edit url (#92853)
Update cloud rule edit page url after successful update
2024-09-03 14:18:02 +02:00
Ashley Harrison
d9385d8a76 add missing await 2024-09-03 14:02:27 +03:00
oscarkilhed
aa2175822e Fix bad mock in unittest 2024-09-03 14:02:27 +03:00
renovate[bot]
6c968f90ae Update dependency @grafana/scenes to v5.11.2 2024-09-03 14:02:27 +03:00
Jack Westbrook
e7d7ed5406
Chore: Remove side-effect import from app (#92650)
* chore(frontend): remove stray side-effect features import that brings the whole jungle

* chore(app): delete features/all.ts and its friends

* chore(codeowners): remove public/app/features/all.ts from file
2024-09-03 13:43:13 +03:00
Ieva
46e81e98cf
RBAC: Always store action sets (#92833)
always store action sets, even if FT is disabled
2024-09-03 11:30:47 +01:00
Alexa V
9dc333dfa7
Dashboard Scene: Add close visualization button in panel edit (#92848) 2024-09-03 12:11:09 +02:00
Piotr Jamróz
d7d22bbbb8
TraceView: Display event names of a span (#91382)
* Display event name of a span

* Clean up

* Retrigger the build

* Show colon only when there are fields to display

* Rollback

* Use event name when exporting to OTLP

* Allow filtering spans by event name

* Show duration as a key/value pair

* Update betterer report (we do not translate panels that are planned to be externalized)

* Fix tests after changing how duration is rendered

* Handle long names

* Test handling long names

* Make parenthesis gray

* Fix a test

* Fix linting

* Fix tests

* Update label
2024-09-03 11:18:50 +02:00
Alexander Akhmetov
1df622641c
Alerting: Update documentation about alert instance limit (#92668) 2024-09-03 11:02:20 +02:00
Tom Ratcliffe
13ea3d85ae
Alerting: Fix preview of silences when label name contains spaces (#92802) 2024-09-03 09:14:11 +01:00
Pepe Cano
15de549093
Alerting docs: HA - configure alertmanager to prevent duplicated notifications (#92611)
* Alerting docs: HA - configure shared alertmanager

* Update docs/sources/alerting/set-up/configure-high-availability/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/set-up/configure-high-availability/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Apply minor content suggestion

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-09-03 06:31:09 +02:00
Laura Benz
cdf035f813
Scenes/RestoreDashboards: Adjust DeleteDashboardModal and Toast message (#92601)
* refactor: replace soft delete method

* refactor: adjust test to new naming

* refactor: clean up unused functions

* refactor: replace delete modal

* refactor: use new delete modal outside of scenes
2024-09-02 18:04:02 +02:00
Josh Hunt
a1190b165b
Revert "Update dependency msw to v2.4.1" (#92829)
Revert "Update dependency msw to v2.4.1 (#92648)"

This reverts commit acab4c9438.
2024-09-02 15:51:12 +00:00
Sven Grossmann
5ad7c47816
Plugin Instrumentation: Add target property to request logs (#91946)
* Plugin Instrumentation: Add `target` property to request logs

* remove comment

* remove error
2024-09-02 17:41:26 +02:00
Timur Olzhabayev
564d09c9be
Chore: fixing triage link (#92828)
fixing triage link
2024-09-02 18:24:04 +03:00
grafana-pr-automation[bot]
71e7d37727
I18n: Download translations from Crowdin (#92827)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 18:21:53 +03:00
piyushfs
a038d4136e
NodeGraph: Allow to add datalinks (#90163)
* NodeGraph: allow to add datalinks

* chore: filter list
2024-09-02 16:06:56 +01:00
Andreas Christou
9459626372
AzureMonitor: Update logs workspaces (#92809)
Update logs workspaces and code to retrieve
2024-09-02 16:03:13 +01:00
Alex Khomenko
6ecc9b1d21
Announcement banner: Update docs (#92820) 2024-09-02 17:59:01 +03:00
Alexa V
f8cd448441
Dashboard: Fix Annotation runtime error when a data source does not support annotations (#92504)
When data source does not support annotations, shows an inline Error in Annotation Settings page
2024-09-02 16:46:20 +02:00
antonio
0df5a6aefc
alerting: docs / highlight tutorial in landing page (#92805) 2024-09-02 16:40:16 +02:00
Esteban Beltran
045c57af23
Chore: Update auto triager github action to use private repository (#92819)
* Update auto triager to use private repository

* Check for other secrets too
2024-09-02 16:39:22 +02:00
Tom Ratcliffe
d1dc595692
Alerting: Fix target rule group for moving alert rule group (#92816) 2024-09-02 15:28:12 +01:00
Arati R.
f26f655615
Provisioning: Fix admin reloading of dashboard configuration (#92462)
* Set dashboard provisioner before provisioning dashboards
* Test provisioner instantiation during dashboard provisioning
2024-09-02 15:48:13 +02:00
grafana-pr-automation[bot]
401658e650
I18n: Download translations from Crowdin (#92810)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 16:39:54 +03:00
Esteban Beltran
a3e7e3dbfa
Chore: Add auto-triager github action (#92807)
* Chore: Add auto-triager github action

* Add codeowners

* Add link

* Update .github/workflows/auto-triager.yml

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>

---------

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2024-09-02 15:23:04 +02:00
renovate[bot]
1395cd89da Update dependency @types/node to v20.16.3 2024-09-02 13:05:54 +00:00
Joey
bd5bd52a2c
TraceView: Update feedback link style (#91845)
Update feedback link style
2024-09-02 14:02:00 +01:00
Tobias Skarhed
220215c9ca
New Select: Create custom value (#92652)
* Display custom value in option list

* Ignore create new value when there is an exact match

* Support displaying custom value

* Add i18n string

* Update failing test
2024-09-02 14:42:42 +02:00
Eugene Apollonsky
5871362ccf
Grafana SQL: Fix broken import in NumberInput component (#92803)
SQL: Fix broken import
2024-09-02 14:34:06 +02:00
Dzmitry Skachkou
f0d100d17a
ValueFormats: Fix formatting of 'clock' unit when duration is more than 100 hours (#92656) 2024-09-02 13:50:54 +02:00
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