Commit Graph

53123 Commits

Author SHA1 Message Date
Alexa V
cd4b7ef9db
Dashboard Scene: Fix snapshots not displaying variables values (#88967)
* Use new snapshot variables from scenes

* Add snapshotVariable implementation

* Refactor: Extract variables logic from transforSaveModelToScene file

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-08-20 17:05:12 +02:00
Gilles De Mey
6f63def283
Alerting: Fix long Alertmanager names overflowing the window (#92023)
fix long names overflowing the window
2024-08-20 17:02:35 +02:00
brendamuir
0631322d36
Alerting docs: adds sns integration (#92075)
* Alerting docs: adds sns integration

* deletes 2000 alert rule limit

* added .md ext and set weight field to 0

---------

Co-authored-by: tonypowa <tonypowa@gmail.com>
2024-08-20 16:22:07 +02:00
Sergej-Vlasov
5bfce7f590
DashboardGridItem - increase timeout in flaky panel repeat test (#92133)
increase timeout in flaky panel repeat
2024-08-20 17:19:28 +03:00
renovate[bot]
17fd8a6bc3 Update dependency @msagl/parser to v1.1.22 2024-08-20 14:01:04 +00:00
Lucy Chen
1056cc6a0d
Share Panel: Library panels feature (#91419) 2024-08-20 09:56:10 -04:00
Leon Sorokin
74ebc66520
VizTooltip: Fix positioning at bottom and right edges on mobile (#92042) 2024-08-20 08:48:37 -05:00
Will Browne
d35e9264bb
Plugins: Use plugins SDK constants for OAuth header names (#90892)
use SDK consts
2024-08-20 13:29:41 +01:00
Diego Augusto Molina
e788df921c
Storage: always use transactions and make them readonly when possible (#92110)
* always use transactions and make them readonly when possible

* fix linters

* fix reference
2024-08-20 09:29:06 -03:00
Will Browne
704b07b3f0
Plugins: Bump plugin SDK to latest (0.244.0) (#92057)
bump SDK
2024-08-20 14:40:51 +03:00
renovate[bot]
8b11040b05 Update dependency @msagl/core to v1.1.22 2024-08-20 11:23:27 +00:00
renovate[bot]
1525ee1a04 Update dependency @lezer/highlight to v1.2.1 2024-08-20 10:23:17 +00:00
David Harris
24dad802c9
chore: update plugin schema for ui extensions (#92121)
chore: update plugin.schema.json

Follow up to https://github.com/grafana/plugin-tools/pull/1060/
2024-08-20 11:20:21 +01:00
renovate[bot]
90c5845b72 Update React Aria 2024-08-20 09:36:55 +00:00
Alexander Akhmetov
d32e1e009b
Alerting: Update prometheus/client_golang to v1.20 (#92070)
Update prometheus/client_golang to v1.20
2024-08-20 11:26:06 +02:00
renovate[bot]
d9812153dd
Update dependency typescript to v5.5.4 (#91678)
* Update dependency typescript to v5.5.4

* fix missing typeof

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-20 10:11:57 +01:00
Sergej-Vlasov
7c8184d5bf
DashboardModel - Add fallback for variable current value fallback (#91833)
* add variable current value fallback when null

* refactor to avoid loosing reference
2024-08-20 11:55:04 +03:00
Ieva
2e9cbda448
Docs: Add cloud label to doc articles (#92007)
* add service account docs to cloud docs

* also add label to RBAC docs
2024-08-20 09:52:04 +01:00
Ashley Harrison
ab312914cd
Chore: cleanup util SCSS styles (#92078)
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
Laura Benz
e7b6b4cf34
RestoreDashboards: Add folder picker to restore modal (#91945)
* feat: add folder picker

* feat: run i18n extraction

* feat: add target folder to api query

* feat: hand over targetFolder data to api query

* feat: retrieve original location

* feat: Add condition for folder picker

* feat: Modify condition for folder picker default

* refactor: add changes from code review

* refactor: add changes from code review

* feat: add plural to translation, add styling

* feat: run i18n extraction
2024-08-20 10:08:18 +03:00
Ihor Yeromin
5233e4b47f
Stat: Fix double-zero percent render (#91848)
fix(stat): percent zero case
2024-08-20 04:25:15 +03:00
Pepe Cano
a0e1028ae6
Alerting docs: include Grafana Alerting API as one option to manage… (#91593)
Alerting docs: include `Grafana Alerting API` as one option to manage Data sources-mangaged resources
2024-08-20 00:03:07 +02:00
owensmallwood
1cb3470e3e
Unified Storage: Wrapping the mysql driver with hooks causes issues (#92099)
dont wrap the mysql driver with hooks. Its causing the error 'begin tx: sql: driver does not support non-default isolation level'.
2024-08-19 15:09:25 -06:00
Todd Treece
b97fb3bb78
Chore: Update storage and search feature toggle owners (#92098) 2024-08-19 16:57:00 -04:00
Alexander Weaver
ac5ebe6e4d
Alerting: Add enablement flag for recording rules (#92032)
* Add enablement flag

* Disable if toggle not enabled
2024-08-19 12:01:00 -05:00
Dan Cech
9020eb4b17
Auth: Update oauthtoken service to use remote cache and server lock (#90572)
* update oauthtoken service to use remote cache and server lock

* remove token cache

* retry is lock is held by an in-flight refresh

* refactor token renewal to avoid race condition

* re-add refresh token expiry cache, but in SyncOauthTokenHook

* Add delta to the cache ttl

* Fix merge

* Change lockTimeConfig

* Always set the token from within the server lock

* Improvements

* early return when user is not authed by OAuth or refresh is disabled

* Allow more time for token refresh, tracing

* Retry on Mysql Deadlock error 1213

* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Add settings for configuring min wait time between retries

* Add docs for the new setting

* Clean up

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-08-19 18:57:37 +02:00
Ashley Harrison
5ce9324801
fix nav border when bodyscrolling with sticky variables (#92087)
* fix nav border when bodyscrolling with sticky variables

* better fix
2024-08-19 18:59:46 +03:00
qiyang
950d5630a0
Docs: Update configure-prometheus-data-source.md (#92049)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-08-19 17:43:33 +03:00
Larissa Wandzura
7ff8b1e0e2
Docs: Create new landing page and Get started doc for Explore (#91602)
* started updates

* added descriptions

* changed some wording

* minor updates

* updates

* updates

* created new landing page, and the get started page

* finished creating landing page

* continued with restructure

* final edits

* updated the Explore landing page

* ran prettier

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* updates based on Jack's feedback

* ran prettier a second time

* wording change on landing page

* removed uncommented section

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-08-19 09:30:51 -05:00
Tom Ratcliffe
e2a1d59a96
Alerting: Remove disable logic for name field on time intervals when using k8s API (#91885)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-08-19 14:53:12 +01:00
Torkel Ödegaard
43dba8c3f9
DashboardScene: Support bodyScrolling (#91888)
* Progress

* Fix dashboards pane

* almost working

* add hook to get scopesDashboardsScene state

* check whether it's enabled when considering opened state

* add height to container

* Update

* revert change

* Make it work when bodyScrolling is disabled

* Last tweaks

* Update scenes

* Updating

* Fix

* fix tests

* fix lint  issues

* fix lint  issues

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-19 15:42:45 +02:00
Seungyong Lee
7647c689f1
Docs: Revise Configure Prometheus documentation to align with Grafana v11.1 (#91852) 2024-08-19 12:17:10 +00:00
Ryan McKinley
65a7d8f023
Chore: Fix panic with golang 1.23 (#92055) 2024-08-19 13:31:01 +03:00
Juan Cabanas
a50b5564be
ShareModal: shareView query param fix (#92020) 2024-08-19 07:28:54 -03:00
renovate[bot]
8d197387ed
Update dependency @grafana/tsconfig to v2 (#92056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:13:33 +03:00
Laura Fernández
84e0aa1ccd
RestoreDashboard: Avoid overwrite when saving dashboard triggers a 'name-exists' error (#91881) 2024-08-19 11:31:40 +02:00
Joey
41fc6ab89e
Tempo: Update max options (#92050)
* Update max options

* Update limit
2024-08-19 10:26:55 +01:00
Ryan McKinley
9567275365
SQL: Add more legacy helpers (#92006) 2024-08-19 12:15:43 +03:00
Alexander Zobnin
87c4f2448c
Zanzana: Use modular schema (#92001)
* Zanzana: Use modular schema

* Fix tests

* Add module transform tests
2024-08-19 11:10:51 +02:00
Ashley Harrison
dcdef1a02d
TextPanel: Prevent panel crashing when interpolating variables results in empty content (#92019)
fix text panel crashing when interpolating variables results in empty content
2024-08-19 09:45:58 +01:00
Erik Sundell
134467fc4a
Plugin Extensions: Introduce new registry for exposed components (#91748)
* refactor app plugin internals

* add base registry and exposed components registry

* refactor usePluginComponent hook

* change type name

* fix hook

* remove comments

* fix broken tests

* add more tests

* remove link and component related changes

* use right id format

* add title prop

* remove comments

* rename registry

* make exportedComponentsConfigs required

* fix broken test

* cleanup tests

* fix prop name

* remove capability related code

* rename exported to exposed

* refactor(extensions): make registry types generic

* Update public/app/features/plugins/extensions/registry/ExportedComponentsRegistry.test.ts

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

* fix levitate error

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-08-19 08:43:11 +02:00
Todd Treece
4a753dd2d5
Chore: Switch dev profiling address to 127.0.0.1:6000 (#91916) 2024-08-18 13:45:55 -04:00
Drew Slobodnjak
d3c6e2b203
Table: Avoid rtl when using datalinks with units (#92038) 2024-08-16 15:42:20 -07:00
Jeff Levin
028e8ac59e
Instrument tracing across accesscontrol (#91864)
Instrument tracing across accesscontrol 

---------

Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
2024-08-16 14:08:19 -08:00
Brendan O'Handley
68f545210d
Prometheus: Fix label names select component when there are too many options (#92026)
* add more doc info for truncate function and how we use it

* truncate label names and allow users to search all labels on typing

* remove unused import

* handle labels select in variable query in addition with truncated list
2024-08-16 13:55:03 -05:00
Todd Treece
def8104e74
Aggregator: Prepare for new handlers (#92030) 2024-08-16 14:13:38 -04:00
Yuri Tseretyan
135f6571a9
Alerting: Update Time Interval service to support renaming of resources (#91856)
* add RenameTimeIntervalInNotificationSettings to storage
* update dependencies when the time interval is renamed
---------

Co-authored-by: William Wernert <william.wernert@grafana.com>
2024-08-16 20:55:03 +03:00
Drew Slobodnjak
3c5d799c8c
BarChart: Prevent label clipping at top (#91990)
* BarChart: Prevent label clipping at top

* Fix const issue
2024-08-16 09:29:25 -07:00
Lu Shueh Chou
126169f3ca
Alerting: Add LogicOr operation option (#89258)
---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-08-16 11:02:14 -04:00
Irene Rodriguez
62abaea8f5
Capitalized list items under "With Explore Metrics, you can:" (#91879)
capitalised list items under "With Explore Metrics, you can:"
2024-08-16 09:01:53 -05:00