Andreas Christou
1a8d25375a
Azure: Resource picker improvements ( #109458 ) ( #109520 )
...
* Azure: Create feature toggle for resource picker improvements (#109458 )
Create feature toggle
* Azure: Resource picker subscriptions filter (#109527 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Update tests, lint, and i18n
* Lint and test
* Simplify type
* Azure: Resource picker types filter (#109528 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Update tests, lint, and i18n
* Lint and test
* Simplify type
* Rename variable for clarity
* Azure: Resource picker locations filter (#109530 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Locations filter
* Update tests, lint, and i18n
* Minor test updates
* Imports
* Lint and test
* Simplify type
* Rename variable for clarity
* Rename var
* Azure: Resource picker filters tests (#109590 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Locations filter
* Update tests, lint, and i18n
* Minor test updates
* Imports
* Lint and test
* Resource picker filter tests
* Update tests
* Simplify type
* Rename variable for clarity
* Rename var
* Azure: Resource picker - recent resources (#109596 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Locations filter
* Update tests, lint, and i18n
* Minor test updates
* Imports
* Lint and test
* Resource picker filter tests
* Update tests
* Event for filter usage
* Function to support local storage
* Recent resources view
- Add LocalStorageValueProvider to store recent resources
- Add tabbed view to support switching between recent resources and resource picker
- Extract the base resource picker out to a functional component for reusability
- Extract the base resource table out to a functional component for reusability
* Update i18n keys
* Export resource key
* Add no recent resources text
* Run legacy tests with feature toggle off
* Add filters test without feature toggle
* Don't use as type assertions
* Add tests for recent resources
* Store resources for each query type
* i18n-extract
* Simplify type
* Minor performance improvement
* Rename variable for clarity
* Rename var
* Add placeholders
* Azure: Resource picker tests (#110175 )
* Minor simplifying refactor
* Add more tests
* Update E2E
2025-09-02 11:02:01 +01:00
Andreas Christou
0dc283b303
Graphite: Add backend feature toggle ( #110043 )
...
Add feature toggle
2025-09-01 15:13:47 +00:00
Sven Grossmann
b6d7374b25
ExtensionSidebar: Remove feature flag and enable by default ( #109906 )
...
* ExtensionSidebar: Remove feature flag and enable by default
* ExtensionSidebar: Remove `isEnabled`
* ExtensionSidebar: Lint
* ExtensionSidebar: Lint
* ExtensionSidebar: Remove more FF
* i dont know why, but okay
2025-09-01 12:14:17 +02:00
Levente Balogh
d31e682345
Plugins: Expose core APIs only for certain plugins ( #107967 )
...
* feat(plugins): add a way to expose core apis only to certain plugins
* review: update naming
* review: update the owners of the feature toggle
* feat: share the restricted apis with extensions
* fix: linters
* feat: remove the `addPanel` api
* chore: fix linting and betterer issue
* tests: use `@ts-expect-error` for more clarity
2025-09-01 11:57:00 +02:00
Konrad Lalik
31114fb47c
Alerting: Add Triage feature toggle ( #110326 )
...
* Add state history config to frontend config object
* Add alertingTriage feature toggle
* Add Triage menu entry
* Add old state history config props for backward compatibility
2025-09-01 11:33:33 +02:00
Gabriel MABILLE
885812f694
AuthZ: Recover from an outdated cached folder tree ( #110293 )
2025-09-01 11:16:01 +02:00
Ezequiel Victorero
d63e1ce04d
Cleanup: Restore 10 minute default value for background process ( #110355 )
2025-08-29 17:56:45 +00:00
Nathan Vērzemnieks
72eeefabd7
Revert: DataSource: Support config CRUD from apiservers ( #106996 ) ( #110342 )
...
Revert "DataSource: Support config CRUD from apiservers (#106996 )"
This reverts commit eda94a6434 .
2025-08-29 14:49:57 +02:00
Ezequiel Victorero
4b43877324
ShortURL: Use the k8s API in the cleanup process ( #109938 )
2025-08-28 17:40:45 -03:00
Ryan McKinley
eda94a6434
DataSource: Support config CRUD from apiservers ( #106996 )
2025-08-28 22:28:26 +03:00
Yuri Tseretyan
15fab1cb99
Alerting: Update integration schema to support versions ( #109969 )
...
* add VersionedNotifierPlugin and method that converts NotifierPlugin to it
* return new schema if query parameter version=2
* add version to k8s model of integration
* fix open api snapshot
* add version to IntegrationConfig
* use current version on conversion
* create versioned integrations for test
2025-08-28 14:46:30 -04:00
Moustafa Baiou
c73b3ccf6e
Alerting: Fix copying of recording rule fields
...
Recording rule fields were not being copied correctly when duplicating an alert rule. This manifests as missing `TargetDataSourceUID` fields from the `Record` part of the rule when rules in a group are re-ordered.
Added some additional tests to ensure we cover the generation of recording rules in tests and fixed the copying logic to ensure all fields are copied correctly.
2025-08-28 14:07:00 -04:00
Nathan Vērzemnieks
bd5459fcf0
Plugins: Record plugin version in request metrics ( #110210 )
...
Plugins: record plugin version in request metrics
2025-08-28 15:05:39 +02:00
Misi
a5c05ba9c1
IAM: Moving code to the /pkg/apps/iam folder ( #109985 )
...
* wip
* Gen GetTeams with app sdk
* Revert some changes, cleanup
* Format iam_manifest.go
* Remove generated file
* Regenerate openapi defs
* Cleanup
* Remove TODO
2025-08-28 12:32:15 +02:00
Sonia Aguilar
98bd10965b
Alerting: Add feature toggle and extension point ( #110141 )
...
* Add feature toggle and extension point
* Update ff name for enrichment per rule
* update translations
* rename to addRuleFormEnrichmentSection
* pr feedback
* prettier
* update translations
* revert wrong change in tsconfig
2025-08-28 10:30:28 +02:00
Thomas Casteleyn and Artur Wierzbicki
7768e507da
docs(openapi): Cleanup tag usage and minor fixes ( #105546 )
...
* docs(openapi): Cleanup tag usage and minor fixes
* Add missing change
* More fixes
* make swagger-gen
* Remove unused documentation
* Update pkg/services/publicdashboards/api/query.go
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com >
* Run make swagger-gen
* Run make openapi3-gen
---------
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com >
2025-08-28 01:51:04 +04:00
maicon
cfe73925cd
Add index IDX_folder_org_id_parent_uid_uid ( #110131 )
...
* Add index IDX_folder_org_id_parent_uid
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Force index on Dashboard Permission Filter (MYSQL)
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-08-27 14:29:11 -03:00
ismail simsek
5fe58431d4
Chore: Remove prometheusCodeModeMetricNamesSearch feature toggle ( #109024 )
...
* remove feature toggle prometheusCodeModeMetricNamesSearch
* remove code that relies on prometheusCodeModeMetricNamesSearch feature toggle
* remove code that related to prometheusCodeModeMetricNamesSearch feature toggle
* remove commented code lines
* remove commented code line
* Put codeModeMetricNamesSuggestionLimit selector back
* remove redundant unit test
2025-08-27 15:11:58 +02:00
Paul Marbach
ec38e0bd58
Table: Enable tableNextGen by default ( #109832 )
...
* Table: Enable tableNextGen by default
* kill off tableNextGen feature flag
* i18n
* i18n
* i18n
* remove state beta from table panel
* fix migration for 0 decimals migration
* add explicit auto option bacjk
* match impl from previous migrations code
* try changing some selectors
* remove timezone test from Cypress
* fix PlaylistForm unit test
* fix some selectors
* clean up i18n, are these gridcells somehow?
* return a couple of selectors caught in the dragnet to being cell instead of gridcell
* fix i18n for en-US
* clean up gdevs now that wrapHeaderText has no default
* update role in e2e for when it is re-enabled
2025-08-26 17:25:16 -04:00
maicon
99fc606e17
Add permission role_id action index ( #110125 )
...
* Add permission role_id action index
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Drop permission role_id index
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-08-26 16:12:13 -03:00
Alexander Akhmetov
5e1f79ca83
Alerting: Fix alert rule comparison with the same missing_evals_to_resolve ( #110174 )
2025-08-26 18:20:50 +02:00
Yuri Tseretyan
c5667476a7
Alerting: Update ticker to accept logger in the constructor ( #110176 )
...
* add logger to ticker
* move ticker to schedule
2025-08-26 12:17:48 -04:00
Kristina
1c587a983f
Correlations: Add better handling to correlation type and update documentation ( #109922 )
...
* Add better type handling when correlation is created from provisioning and fix documentation
* add external example
* change error when deprecated key is used
2025-08-26 10:14:05 -05:00
Mihai Turdean
3eebe43c6d
Slight refactor of Zanzana GRPC Client to use it in the IAM Folder Operator ( #110120 )
2025-08-26 08:34:15 -06:00
Matheus Macabu
60f31342c0
Secrets: Remove proxy certs ( #110140 )
2025-08-26 16:24:26 +02:00
Kyle Brandt
58c8fdad7a
SSE/QuerySvc: (Chore) Remove expression parser code and feature toggle ( #110117 )
2025-08-26 13:21:24 +00:00
Steffen Baarsgaard and Victor Cinaglia
b047175330
Auth: Support JWT configs tls_client_ca and jwk_set_bearer_token_file ( #109095 )
...
* Auth.jwt: Support config tls_client_ca
* Auth.jwt: Support config jwk_set_bearer_token_file
* Docs: Document new JWKS url options and mention tls_skip_verify_insecure
* Docs: Fix note on JWKS response caching
* chore: Refactor getBearerToken into standalone function
* docs: Apply wording/formatting suggestions
Co-authored-by: Victor Cinaglia <victorcinaglia@gmail.com >
* chore: Simplify ca helper function using testcerts
Co-authored-by: Victor Cinaglia <victorcinaglia@gmail.com >
* chore: Update doc and add comment preventing potential erroneous optimization
Co-authored-by: Victor Cinaglia <victorcinaglia@gmail.com >
chore: Reword comment prevent an erroneous refactor
* docs: Update casing
Co-authored-by: Victor Cinaglia <victorcinaglia@gmail.com >
---------
Co-authored-by: Victor Cinaglia <victorcinaglia@gmail.com >
2025-08-26 09:50:06 -03:00
Moustafa Baiou and William Wernert
5724fae778
Alerting: Add Extended List Query for Alert Rules w/pagination ( #109360 )
...
* Alerting: Add Extended List Query for Alert Rules w/pagination
This adds an extended query which allows filtering by the kind of rule (Recording or Alerting) and supports pagination.
Pagination tokens will allow us to list all rules paginated, regardless of the rule group.
---------
Co-authored-by: William Wernert <william.wernert@grafana.com >
2025-08-26 08:20:47 -04:00
Ezequiel Victorero
649e9aa8ca
SavedQueries: Create feature flag ( #109944 )
2025-08-25 18:22:09 -03:00
Stephanie Hingtgen
ad30905969
Feature toggles: Cleanup generated file ( #110124 )
...
cleanup generated file
2025-08-25 18:28:42 +00:00
Kyle Brandt
4f0cb47d3c
SQL Expressions: Rework backend errors and error instrumentation ( #109633 )
...
* Capture error_type label on metrics/traces
* Make error messages more helpful to user
* Use errutil, categorized errors, and tie them to error_type (category in code)
* Misc trace fixes
* Add metric to track SQL input conversion
2025-08-25 11:13:42 -04:00
linoman
539b413584
SAML catalog: Add metrics for saml catalog logins ( #109904 )
...
* Add samlCatalog metric
* Add samlCatalog metric to stats
* Define hook for successful SamlCatalog metrics
* Register new hook
* Add tests
* Rework the collected stats and split it into versions
2025-08-25 16:21:10 +02:00
Stephanie Hingtgen
1091054c25
Unistore: Wire up inline secure values ( #110072 )
...
* Unistore: Wire up inline secure values
* add validation and test
* linter
2025-08-25 02:48:49 -06:00
ce65391067
Provisioning: Use inline secrets for gitsync ( #109908 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net >
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com >
2025-08-22 18:38:28 +02:00
Alexander Akhmetov
5d3be370e0
Alerting: Fix provisioning API returning 500 for validation errors in notification settings ( #110006 )
2025-08-22 13:16:06 +02:00
Alexander Akhmetov
b4ff398865
Alerting: Fix folder permissions for Editor role in Prometheus import ( #109977 )
...
Alerting: Fix folder permisisons for Editor role in Prometheus import
2025-08-22 13:15:53 +02:00
Santiago
6976ac4caa
Alerting: Fix bad field used in LogContext ( #110023 )
2025-08-22 10:13:02 +00:00
Alexander Zobnin
2b254ed623
Zanzana: Add server side metrics ( #109923 )
...
* Zanzana: Add metrics to server side
* Zanzana: Collect check duration
* add metrics for other methods
2025-08-21 15:20:07 +02:00
Santiago
29aff8c387
Remote Alertmanager: Ignore tenant ID when merging remote state ( #109928 )
...
* Remote Alertmanager: Ignore tenant ID when merging remote state
* update tests
2025-08-21 09:00:37 +00:00
Ashley Harrison
03d9ec4ea3
Frontend service: Fix favicon ( #109914 )
...
fix frontend service favicon
2025-08-21 09:27:27 +01:00
Kevin Minehart
7c2945bb54
Remove drone & dead code in pkg/build; update go modules ( #109935 )
...
* remove drone & dead code in pkg/build; update go modules
* remove .drone.star
* Remove drone scripts and drone references in Makefile
* make update-workspace
* remove deadcode tool
* Remove daggerbuild/scripts: deadcode
* Remove drone files / folders in CODEOWNERS
* make update-workspace
* remove more dead code
2025-08-20 14:27:58 -05:00
Alexander Akhmetov
38672c7936
Alerting: Set specific backend type in remote_writer_writes_total metric for grafanacloud-prom datasource ( #109516 )
2025-08-20 13:04:00 +02:00
Georges Chaudy
9a065e0c64
apiserver: enable support for Streaming lists ( #109893 )
...
enable watchlist
2025-08-20 11:09:55 +02:00
Gábor Farkas
35ecb3330b
apiserver: openapi: only log errors when an error happened ( #109780 )
2025-08-20 10:48:05 +02:00
Todd Treece
e6df473e5a
App Installer: Merge builder and installer admission ( #109854 )
2025-08-19 11:58:03 -04:00
Santiago
a31323578f
Remote Alertmanager: Move factory functions to the remote package ( #108582 )
...
* Remote Alertmanager: Move factory functions to the remote package
* remove createRemoteAlertmanager
* modify comment
* unexport functions to create remote secondary and primary forked AMs
* RemoteFactory -> NewRemoteFactory
* avoid passing a logger
* avoid panics if creating the internal AM fails
* remove lines
* rephrase comment
* fix source of sync interval
2025-08-19 15:34:58 +00:00
Jean-Philippe Quéméner
e157dbaa4f
fix(folders): check for library panels on delete (legacy) ( #109848 )
2025-08-19 17:32:35 +02:00
Ezequiel Victorero
a3396e3549
Library Panels: Return valid panels ( #109827 )
2025-08-19 11:44:27 -03:00
Yuri Tseretyan
a2cae07ac7
Alerting: Remove method ReceiverService.ListReceivers ( #109828 )
2025-08-19 09:12:23 -04:00
Gábor Farkas
2e5b55a855
datasources: querier: renamed the "mt" builder to "qs" builder ( #109779 )
2025-08-19 12:37:56 +02:00