Joey
062a0e7212
Tempo: fallback for intrinsic tags ( #101677 )
...
* Add intrinsics fallback
* Add test
* Update tests
* Prettier
* Remove extra uniq
2025-03-11 12:43:02 +00:00
Gilles De Mey
adbc5b2b88
Alerting: Hide "unauthorized" warning for anonymous users ( #101811 )
...
* remove nav analytics
* revert
* Remove new user check for alerting navigation tracking
* Delete Analytics.test.ts
2025-03-11 12:51:48 +01:00
maicon
927f7befd6
Unistore: Create default permissions through Folder APIServer ( #101420 )
...
* Unistore: Declare a new storage to set default folder permissions
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove the setting of default permissions from folder legacy storage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Disable setting of folder permissions when Api Server is enabled
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Reverts grafana/grafana#100019
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* check error on unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove unused fields
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add unit tests for folder_storage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove duplicated import
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Fix unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-03-11 11:33:08 +00:00
Mike Nolta
79d079b638
Docs: fix missing @ in GF_PLUGINS_PREINSTALL example ( #101908 )
...
Docs: fix missing `@` in `GF_PLUGINS_PREINSTALL`
2025-03-11 11:24:33 +00:00
Victor Marin
3adb12fb56
Dashboards: Fix timezone change issue in dashboards ( #101880 )
...
* fix timezone change issue in dashboards
* update dashboard initial state after saving
2025-03-11 13:19:46 +02:00
Gabriel MABILLE
c8f810b422
Authz: Check namespace is set in the context ( #101723 )
...
* Authz: Test List
* Anonymous case
* Cover rendering
* Authz: Check namespace is set in the context
* Explicitly request a namespace check in the storage functions
* Revert logic
2025-03-11 12:04:33 +01:00
Torkel Ödegaard
b4366db1f1
ThemeDrawer: Change theme from anywhere and preview them ( #100405 )
...
* ThemeDrawer: Change theme from anywhere and preview them
* Update
* added subtitle
* Use new component
* Fixes
* Fix runtime ony wrong prop
* Fixed saving issue
* update lang file
* Fixed circular dep
* fix import
2025-03-11 12:03:10 +01:00
Igor Suleymanov and Ryan McKinley
ea89a68028
K8s/Dashboards: Generate Dashboards k8s APIs using Grafana App SDK ( #99966 )
...
* Generate Dashboard kinds with `grafana-app-sdk`
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Hack together a fix for invalid TS codegen for v0 & v1
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Address Go linter issues
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Address TS linter issues
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Add new app to CODEOWNERS
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Fix a couple of issues detected by tests
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update OpenAPI definitions and test files
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Remove title from Dashboard v1alpha1 spec
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Remove unused CUE schemas
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* remove unrelated files
* allow any in the generated betterer
* Add a comment explaining why we don't use deepcopy-gen
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Default to v2alpha1 if dashboards v2 FF is enabled
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-03-11 13:00:37 +02:00
Laura Fernández
3fffb2872e
InlineField: Use Combobox instead of Select ( #101923 )
...
Use Combobox instead of Select
2025-03-11 11:47:59 +01:00
Victor Marin
3e7626cc96
Dashboards: Fix missing v/e/i keybindings to return back to dashboard ( #101876 )
...
readd keybindings to return from edit/view/inspect modes
2025-03-11 12:40:37 +02:00
312d80e0e1
Scopes: Refactor scopes to plain React and move it to runtime ( #97176 )
...
* Scopes: Refactor scopes
* Scopes: Refactor scopes
* Scopes: Refactor scopes
* Revert data changes
* Refactorings
* Refactorings
* Refactorings
* Remove unused
* Refactorings
* Refactors
* Fixes
* Update scenes
* Rebase
* Update .betterer.results
* Fix tests
* Move scopes selector to appchrome
* More fixes
* Fix tests
* Remove ScopesFacade
* use latest canary scenes version to pass tests
* Make fields private
* Update scenes version
---------
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
Co-authored-by: Victor Marin <victor.marin@grafana.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2025-03-11 11:34:33 +01:00
Josh Hunt
210c886bb7
I18n: Add new language options ( #101899 )
...
* Add newLanguages feature toggle
* add additional languages behind feature toggle
* be more forgiving of what config looks like in tests
* tweak regex
* put pt-br back
* restore order of pt-BR and cn-Hans, rename EXTRA_LANGUAGES to NEW_LANGUAGES
* stricter test regex
2025-03-11 12:07:16 +02:00
Laura Fernández
da25d97ffd
AutoSaveField: Change the story to use Combobox instead of Select ( #101922 )
2025-03-11 11:59:55 +02:00
Sam Jewell
dd5db23123
SQL Expressions: Update comment for flag definition ( #101919 )
...
Update comment for SQL Expressions flag definition
2025-03-11 09:59:23 +00:00
Carl Bergquist
14ad1dec38
conf: hides scope feature toggles from docs ( #101913 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-03-11 10:12:58 +01:00
Torkel Ödegaard
7ecad55bff
Tabs: Reduce active border from 4 px to 2px ( #101888 )
...
* Tabs: Reduce active border from 4 to 2px
* css fixes
2025-03-11 09:16:29 +01:00
Peter Štibraný
fa809ac417
Fix more LastInsertId calls ( #101892 )
...
* Fix more places where LastInsertId is used without proper directive for Spanner.
* Fix tests.
2025-03-11 09:03:03 +01:00
renovate[bot]
11a95a0b80
Update dependency prismjs to v1.30.0 [SECURITY] ( #101915 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-11 09:07:58 +03:00
Isabel Matwawana
1e6aa27313
Docs: Add enterprise availability notes ( #101909 )
...
* Added enterprise only note
* Fixed wording
* Added availability to share panel internally and removed invite new member
* Fixed wording for consistency
* Removed link to invite new members section
* Discarded change
2025-03-10 16:06:59 -04:00
Jacob Valdez
e191a35234
Adding note about upgrading plugins prior to migration ( #100235 )
...
* Adding note about upgradfing plugins prior to migration
* adding admonition vis-a-vis enterprise plugin add-on
* Update cloud-migration-assistant.md
2025-03-10 14:55:14 -05:00
grafana-pr-automation[bot] and github-actions[bot]
b810696add
I18n: Download translations from Crowdin ( #101896 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-10 19:33:25 +02:00
Ryan McKinley
64f1df69d5
Search: Rename managed object index ( #101856 )
2025-03-10 19:48:53 +03:00
Peter Štibraný
9858e40a02
Spanner: Add trivial sequence number generator. ( #101777 )
...
* Add trivial sequence number generator.
2025-03-10 17:37:44 +01:00
Andres Martinez Gotor
8142aef64d
Advisor: Avoid evaluating a check for another namespace ( #101885 )
2025-03-10 17:09:11 +01:00
Tito Lins
8c51af49e5
Alertmanager: upgrade alerting ( #101870 )
2025-03-10 16:59:21 +01:00
Peter Štibraný
0ce67dad74
Spanner: support for lastInsertId ( #101770 )
...
* Support for returning inserted ID in Spanner.
* Convert bytes to string when storing them into text column.
2025-03-10 15:59:06 +01:00
Ieva
d5451f2e13
Docs: Remove reference to a non-existent action ( #101874 )
...
remove reference to a non-existent action
2025-03-10 15:58:31 +01:00
Peter Štibraný
32f651e9aa
Spanner: update DB snapshot ( #101879 )
...
* Update spanner snapshot to include migrations from grafana-enterprise.
* Move sql dump tool (test) to grafana-enterprise.
2025-03-10 15:58:12 +01:00
Javi and André Pereira
696993e29b
Tempo: Update autocomplete (min, max, avg, sum over time) ( #101861 )
...
* Tempo: Update autocomplete (min, max, avg, sum over time)
* Fix typo
* added sum_over_time to isTraceQlMetricsQuery
---------
Co-authored-by: André Pereira <adrapereira@gmail.com >
2025-03-10 16:30:22 +02:00
Tom Ratcliffe
da8966821f
Alerting: Add target datasource dropdown for Grafana recording rules ( #101805 )
...
* Update types with optional recording rules data source UID
* Show target data source for recording rules
* Add i18n
* Fix types
* Show datasource on recording rule page
* Fix loading of initial value for target datasource
* Update translations
* Update rule-form.test.ts.snap
* Update names and remove fragment
2025-03-10 14:23:05 +00:00
Torkel Ödegaard
e7e0b689c2
Dashboard: Edit pane header design and refactorings ( #101851 )
...
* Edit pane header
* Update
* Update
* Progress
* Progress
* Update
* Delete
* Delete icon button
* Update
* Fix
* remove need for arrow functions
* Update
* update
* Update
* Update
* Update
2025-03-10 15:03:54 +01:00
cf60c4e77f
Update SAML configuration steps ( #101663 )
...
* replace relrefs and minor edits
* add new content and links
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* changes from linter and content suggestions
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* run prettier
---------
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2025-03-10 13:04:27 +00:00
Torkel Ödegaard
768943bd75
Dashboard: Fixes issue with tabs with rows and default grid ( #101865 )
2025-03-10 13:26:00 +01:00
Haris Rozajac
774e565b09
Dashboard Schema V2: Use the right version of transformer when detecting changes ( #101850 )
...
use right version of transformer
2025-03-10 13:25:46 +01:00
Will Assis
f020aae783
fix(unified-storage): use explicit nil where applicable in dualwrite package ( #101783 )
...
use explicit nil where applicable in dualwrite package
2025-03-10 08:11:02 -04:00
Ed Poole and Ashley Harrison
98e4d57bcd
GrafanaUI: Add external border radius mixin ( #100266 )
...
* Add external border radius mixin
* Add getInternalRadius mixin for inverse use case
* Update border radius fns with clearler types and JSDoc annotations
* tidy up interface, apply correctly in radio buttons, add internal story
* connect padding/offset in radiobuttongroup/radiobutton
* split out offset into its own param
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-03-10 12:09:48 +00:00
Tom Ratcliffe
852243c8f0
Chore: Remove pseudoizer and use i18next-pseudo instead ( #101690 )
...
* Remove pseudoizer and use i18next-pseudo instead
* Remove pseudo.mjs script
* Conditionally add pseudo post processing to i18n config
* Remove pseudo-locale in favour of post processing
* Add wrapped property to pseudo strings
2025-03-10 12:02:31 +00:00
Peter Štibraný
fd6a4908f1
Support Spanner's UNION syntax, which needs to be UNION DISTINCT or UNION ALL. ( #101768 )
...
* Support Spanner's UNION syntax, which needs to be UNION DISTINCT or UNION ALL.
2025-03-10 12:33:52 +01:00
Alex Khomenko
607d39b573
Folders: Add k8s API client ( #101862 )
...
* Add folder k8s API
* Betterer
* Update index
2025-03-10 12:19:14 +01:00
Javi
e6fdb746f2
Tempo: add support for sum_over_time metrics queries ( #101545 )
...
* feat: add sum_over_time to tempo metrics query regex
* added a test to assert sum_over_time is interpret as traceql metric
2025-03-10 11:04:05 +00:00
4a713bd9ed
Plugin: expose nested folder component from core grafana ( #97765 )
...
* expose nested folder component from core grafana
* prettier
* import order
* remove unused commented code
* remove unneeded file
* make a LazyFolderPicker
* fix types, change permission to string
* comment
* reset some changes back to main
* no need to log
---------
Co-authored-by: Joe Blubaugh <joe.blubaugh@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: joshhunt <josh.hunt@grafana.com >
2025-03-10 10:50:42 +00:00
Pepe Cano
a800f87064
Alerting docs: clarify No data/Error alerts skip pending period ( #101431 )
...
* Alerting docs: clarify `No data/Error` alerts skip pending period
* fix vale errors
2025-03-10 11:36:09 +01:00
Pepe Cano
97d16c7a7b
Alerting docs: clarify the export JSON format are for file provisioning ( #101617 )
...
* Remove unused `Separator` column
* Clarify the `export` JSON output is for file provisioning
* minor copy changes
* Be more specific about the `X-Disable-Provenance` header
* minor change
* fix vale errors
* Set inline code format in property names
* fix vale error: `bool`
2025-03-10 11:33:30 +01:00
Pepe Cano
5fb8540230
Alerting docs: clarify values included in Alert.Labels and Alert.Values ( #101571 )
...
* Alerting docs: clarify values included in `Alert.Labels` and `Alert.Values`
* minor change
2025-03-10 11:31:50 +01:00
Pepe Cano
23ccd2be95
Alerting docs: dynamic label changes ( #101781 )
2025-03-10 11:31:07 +01:00
Karl Persson
9a3864e603
Auth: Update to authlib ( #101863 )
...
Update to latest authlib
2025-03-10 11:08:40 +01:00
Sven Grossmann
8ea6280469
Loki: Removal of Resolution in query editors ( #101860 )
...
Loki: Remove usage of `Resolution` in Annotations
2025-03-10 11:02:10 +01:00
Oscar Kilhed
72aa2392cb
Dashboards tabs: If trying to navigate to non existing tab with url, default to the first tab ( #101784 )
...
* if tab does from url does not exist default to 0
* fix lint
2025-03-10 10:47:15 +01:00
Alex Khomenko
7cd7d7f608
Provisioning: Register middleware and reducer ( #101859 )
2025-03-10 11:02:57 +02:00
Torkel Ödegaard
2f104739d7
Dashboard: Auto focus title fields in edit pane ( #101668 )
...
* Dashboard: Auto focus title fields in edit pane
* Fix scroll issue
* Update
* No auto focus in panel edit
* Update to implementation
* alt skip fix
* fixed playwright test
* Update
* Fix
2025-03-10 08:03:55 +01:00