Carl Bergquist
f262880b68
Scopes: Add field to disable selecting multiple scope under a ScopeNode ( #88767 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-06-05 14:43:22 +03:00
Marcus Efraimsson
fe3e5917f1
Plugins: Preserve trailing slash in plugin proxy ( #86859 )
...
* Plugins: Preserve trailing slash in plugin proxy
* enable toggle by default
2024-06-05 13:36:14 +02:00
Gabriel MABILLE
b1520e93f1
Fix: Regenerate token on failed encryption/decryption ( #88732 )
...
* Add function to rotate the extsvc token
* Recover from failed token decryption
* add log
* Remove error check
* Log outside error
2024-06-05 11:56:54 +02:00
Matias Chomicki
ec9aecd82b
Loki: remove query formatting ( #88636 )
...
* Loki: remove query formatting
* Loki formatting: remove feature flag
* chore: remove test
* Formatting
2024-06-05 12:46:28 +03:00
Ryan McKinley
b640b6e8d1
K8s: Improve k8s dashboard query ( #88629 )
2024-06-05 11:21:51 +03:00
Ryan McKinley
71be5c6eb4
K8s: Remove action metadata key ( #88591 )
...
* remove action
* remove action
* remove action
* fix test
2024-06-05 07:37:36 +03:00
Leonardo Boleli
d83818f8cc
Cloudwatch: Update AWS DynamoDB Metrics ( #88418 )
2024-06-04 15:22:15 -04:00
Santiago
9f9928d41a
Alerting: Update grafana/alerting ( #88363 )
...
* Alerting: Update grafana/alerting
* make tests pass by implementing yaml unmarshallers and deleting fields with omitempty in their yaml tags
* go mod tidy
* fix tests by implementing not calling GettableApiAlertingConfig.UnmarshalYAML from GettableApiAlertingConfig.UnmarshalJSON
* cleanup, reduce diff
* fix more tests
* update grafana/alerting to latest commit, delete global section from configs in tests
* bring back YAML unmarshaller for GettableApiAlertingConfig
* update alerting package dependency to point to main
* skip test for sns notifier
2024-06-04 20:29:37 +02:00
Matias Chomicki
cd3dab2736
Logs: Infinite scrolling in Explore enabled by default ( #87493 )
...
Logs: enable infinite scrolling
2024-06-04 18:23:20 +02:00
Andreas Christou
f787418e4b
AzureMonitor: Fix bug detecting app insights queries ( #88572 )
...
Make regexp case insensitive
2024-06-04 16:16:31 +01:00
Marcus Efraimsson
0af2931672
Plugins: Don't forward cookies for app plugins ( #88663 )
2024-06-04 16:55:54 +02:00
Yuri Tseretyan
a63ef42816
Alerting: Mute Timing service to prevent changing provenance status to none ( #88462 )
...
* use relaxed validation to not introduce breaking changes for now but to be able to use the service
in non-provisioning APIs.
2024-06-04 08:54:33 -04:00
Mihai Doarna
25c57f21cd
SSO: Add the new role value fields for SSO SAML strategy ( #88561 )
...
added the new role value fields for SSO SAML strategy
2024-06-04 15:47:27 +03:00
Sarah Zinger
4d002d85f9
Cloudwatch Logs: Fix bug where we did not return errors to user ( #87190 )
2024-06-04 08:43:36 -04:00
Fayzal Ghantiwala
b66cd7ef79
Alerting: Add filters for RouteGetRuleStatuses ( #88295 )
...
* Placeholder commit with rule_uid change
* Add new filters to grafana rule state API
* Revert type change
* Split rule_group and rule_name params
* remove debug line
* Change how query params are parsed
* Comment
2024-06-04 10:57:55 +01:00
Ashley Harrison
3f7017a471
Chore: Remove nestedFolderPicker toggle ( #88660 )
...
remove nestedFolderPicker toggle
2024-06-04 12:16:12 +03:00
Ryan McKinley
b02a5d6e07
FeatureFlags: Update creation timestamps ( #88654 )
2024-06-04 10:40:18 +02:00
Carl Bergquist
c99fe4f970
Scopes: Add DashboardTitle to scopedashboardbinding ( #88609 )
...
scopes: add title to scopedashboardbinding
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-06-04 10:36:03 +03:00
Laura Benz
b6bd9e5352
Laura/refactor/rename trash section ( #88617 )
...
* refactor: move and rename page component
* refactor: change codeowners
* refactor: change naming in backend
* refactor: change wording of subtitle
2024-06-04 10:03:33 +03:00
Matthew Jacobson
31d5dd0a12
Alerting: Prevent updating rule uid matcher for silences ( #88519 )
...
Prevents updating the `__alert_rule_uid__` equality matcher (used for rule-specific silences) on existing silences
2024-06-03 17:39:06 -04:00
Yuri Tseretyan
043e19afb5
SSE: Fix threshold unmarshal to avoid panic ( #88521 )
2024-06-03 16:16:13 -04:00
Ieva
c16f502ec5
Access Control: Clean up permissions for deprovisioned data sources ( #88483 )
...
* make sure that DS permissions get correctly cleaned up when a DS is deleted through provisioning
* don't attempt to delete a DS if it's not found
* fixes for tests
* fix ds tests
* rename DS service used by DS provisioner to BaseDataSourceService to avoid confusions with the full DS service
2024-06-03 16:19:53 +03:00
Misi
eacf6e0a4d
Auth: Add org to role mappings support to GitHub integration ( #88537 )
...
* wip: add extra tests for verifying current logic
* Add OrgRole mapping and tests
* Update docs
* Clean up
* Update docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com >
* Update docs with None role
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fix
* Prettier docs
* Cleanup tests
---------
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-03 14:24:58 +02:00
ismail simsek
c73bbf19a1
InfluxDB: Introduce maxDataPoints setting for flux variable query editor ( #87935 )
...
* Introduce custom variable support
* Remove comment lines
* introduce maxDataPoints
* fix tests
* update
* fix unit tests
* remove new line
2024-06-03 12:09:33 +03:00
Karl Persson
68f2585712
Cli: Fix bug where password is hashed twice ( #88589 )
2024-06-03 09:14:55 +02:00
Isabella Siu
be2e420e6b
CloudWatch: Handle permissions error and update docs ( #88524 )
2024-05-31 14:36:38 -04:00
Arati R
73905695e3
Storage: Remove dual writing mode feature flags ( #88573 )
...
Remove dual writing feature flags
2024-05-31 20:18:09 +02:00
Arati R
36f42853dd
Storage: Read desired mode from config instead of feature flags ( #88353 )
...
* Read desired mode from config
* Update playlist integration tests
* Add mode 1 playlist integration tests
* Add mode 0 dual writing to playlist integration tests
* Add documentation for the different dual writing modes
2024-05-31 19:29:59 +02:00
Piotr Jamróz
1e70cd8dad
Docs: Clarify that some GA flags may be disabled by default ( #88284 )
2024-05-31 16:18:54 +02:00
Bruno
33b9544047
Cloud migrations: create route to delete token ( #88297 )
...
* Cloud migrations: create route to delete token
* gcom.DeleteToken returns ErrTokenNotFound instead of a boolean
* remove unnecessary comment
* make openapi3-gen && yarn run rtk-query-codegen-openapi ./scripts/generate-rtk-apis.ts
* gcom stub: implement DeleteToken
2024-05-31 10:03:43 -03:00
Scott Schreckengaust
3e872bb77e
Cloudwatch: Add Kendra metrics ( #86809 )
2024-05-31 09:02:29 -04:00
Bruno
83543c6b12
Cloud migrations: create route to fetch cloud migration token ( #88176 )
...
* Cloud migration: create route to fetch cloud migration token
* implement gcomStub.ListTokens
* fix swagger for POST /cloudmigration/migration
* fix swagger for POST /cloudmigration/migration
* fix swagger for POST /cloudmigration/migration
2024-05-31 09:39:10 -03:00
Fayzal Ghantiwala
67b9e3b269
Alerting: Update HA Redis TLS docs ( #88538 )
...
* Update HA Redis TLS doc
* Add test for regular TLS
* Update docs
* Update prom registry
2024-05-31 13:23:45 +01:00
Sofia Papagiannaki
17ca61d7f8
Alerting: Export and provisioning rules into subfolders ( #77450 )
...
* Folders: Optionally include fullpath in service responses
* Alerting: Export folder fullpath instead of title
* Escape separator in folder title
* Add support for provisiong alret rules into subfolders
* Use FolderService for creating folders during provisioning
* Export WithFullpath() folder service function
---------
Co-authored-by: Tania B <yalyna.ts@gmail.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-05-31 11:09:20 +03:00
Mihai Doarna
e1aedb65b3
SSO: Add oldSettings param to the Validate function from SSO settings ( #88245 )
...
* add oldSettings param to the Validate function from SSO settings
* update unit tests adding the missing param to Validate
2024-05-31 11:08:52 +03:00
Matthew Jacobson
09cb3a6048
Alerting: Add optional metadata via query param to silence GET requests ( #88000 )
...
* Alerting: Add optional metadata to GET silence responses
- ruleMetadata: to request rule metadata.
- accesscontrol: to request access control metadata.
2024-05-30 12:04:47 -04:00
Misi
ed6b3e9e7c
Auth: Introduce pre-logout hooks + add GCOM LogoutHook ( #88475 )
...
* Introduce preLogoutHooks in authn service
* Add gcom_logout_hook
* Config the api token from the Grafana config file
* Simplify
* Add tests for logout hook
* Clean up
* Update
* Address PR comment
* Fix
2024-05-30 15:52:16 +02:00
Carl Bergquist
6c79f63c04
Auth: Pass ctx when updating last seen ( #88496 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-05-30 14:25:54 +02:00
Kristin Laemmert
876ed9bf0b
chore: decrease frequency of updating last_seen ( #88461 )
2024-05-30 08:09:22 -04:00
kay delaney
8f45003192
LibraryPanels/RBAC: Ignore old folder permission check when deleting/patching lib panel ( #88422 )
...
* LibraryPanels/RBAC: Ignore old folder permission check when deleting lib panel
* Same for patching
2024-05-30 12:23:20 +01:00
Sofia Papagiannaki
4f999f2b6c
Dashboards: Fix regression when deleting folder ( #88311 )
...
* Fix regression when deleting folder
* Apply suggestion from code review
2024-05-30 14:21:34 +03:00
Ieva
1c2ae2c72d
Dashboards: Correctly display Admin access to dashboards in the UI ( #88439 )
...
* include folder wildcard scope in dash permission inheritance
* Update pkg/services/accesscontrol/ossaccesscontrol/permissions_services.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-05-30 10:06:01 +03:00
William Wernert
5de7d4d06d
Alerting: Create writer interface for recording rules ( #88459 )
...
* Create writer interface for recording rules
Also create fake impl + use it for stub in scheduler
2024-05-29 22:38:33 +03:00
Bogdan Matei
55ea077c3e
Scopes: Select scope even without data retrieval ( #87988 )
...
* Scopes: Select scope even without data retrieval
* Pass entire scope and not only the spec to Prometheus
* Enrich ScopeSpec that is sent to Prometheus
* add name to BE
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-05-29 20:09:27 +03:00
Carl Bergquist
0e6464fc96
Don't use transaction for updating last seen for an user. ( #88426 )
...
dont use transaction for updating last seen
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-05-29 18:13:04 +03:00
Sonia Aguilar
289ce61855
Alerting: Add the feature toggle for the new central alert state history feature ( #88346 )
...
* Add the feature toggle for the new central alert state history feature
* WIP
* Revert "WIP"
This reverts commit 80b8879d4e .
2024-05-29 18:01:38 +03:00
Ana Ivanov
c977653811
Add navigation config for grafana-csp-app ( #88360 )
...
Add navigation config for grafana-csp-app
2024-05-29 14:28:33 +03:00
Fayzal Ghantiwala
543f0ae37e
Alerting: Update ListAlertRulesQuery to take a slice of RuleGroups ( #88385 )
...
* Change ListAlertRulesQuery to take RuleGroup slice instead
* Change func name
* Change func name
* Fix fakes
* Fix function arg
2024-05-29 11:50:33 +01:00
Andres Martinez Gotor
0f32c2bff9
Revamp tests for Add/Update Datasource ( #88386 )
2024-05-29 04:54:11 -05:00
Gabriel MABILLE
5eecc01123
VSCode: Launch Grafana with Storage server ( #88351 )
...
* VSCode: Launch Grafana with Storage server
* Fix module_server_test
2024-05-29 10:02:35 +02:00