Misi
9a44296bc2
Auth: Add org to role mappings support to AzureAD/Entra integration ( #88861 )
...
* Added implementation and tests
* Add docs, simplify implementation
* Remove unused func
* Update docs
2024-06-10 12:08:30 +02:00
William Wernert
63e9969c1b
Alerting: Recording rule mapping logic for data frames to Prometheus metrics ( #88550 )
...
* Add stub Prometheus writer with mapping logic
* Add tests
2024-06-07 20:00:22 +03:00
lean.dev
330da7916d
Chore: Add unit test for cloudmigration package ( #88868 )
2024-06-07 13:46:19 -03:00
Alexander Weaver
58fdb24b0b
Alerting: Recording rules appear as type=recording in Prometheus API + better abstraction for type ( #88805 )
...
* Wire status through to prom API
* Regenerate swagger
2024-06-07 11:24:06 -05:00
Sonia Aguilar
b761153812
Alerting: Fix permissions for silences list view ( #88908 )
2024-06-07 19:19:28 +03:00
Yuri Tseretyan
32ea1801aa
Alerting: Support AWS SNS integration in Grafana ( #88867 )
2024-06-07 11:49:49 -04:00
Alexander Weaver
f1dc63565e
Alerting: Fix go-swagger extraction and several embedded types from Alertmanager in Swagger docs ( #88879 )
...
Drop redundant swagger model comments
2024-06-07 10:47:47 -05:00
Piotr Jamróz
c9271edfa1
Feature Toggles: Validate if a GA toggle is enabled or not explicitly ( #88277 )
2024-06-07 16:21:54 +02:00
Eric Leijonmarck
39bd13f877
User: add second migration for lowercasing login/email of users ( #88915 )
2024-06-07 15:07:14 +02:00
Karl Persson and Misi
f3efd95bb4
Auth: Add org to role mappings support to Google integration ( #88891 )
...
* Auth: Implement org role mapping for google oauth provider
* Update docs
* Remove unused function
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-06-07 14:07:35 +02:00
036c878843
Plugins: Improve frontend loader cache ( #87488 )
...
* do it
* set empty child version to parent version
* feat(plugins): use pluginId for loader cache keys
* feat(plugins): apply caching to all js and css files systemjs loads
* remove old code and add comment
* test(plugins): update systemjs hooks tests in line with better caching
* test(plugins): wip - comment out failing backend loader tests
* fix tests and improve comment
* Update public/app/features/plugins/loader/cache.test.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
---------
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-06-07 10:03:41 +02:00
Dave Henderson
c931a44503
storage: Avoid panic when no previous versions in history ( #88880 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 21:33:08 -04:00
Yuri Tseretyan
003e3efce9
Alerting: Update mute timings provisioning API to support optimistic locking ( #88731 )
...
* add version to time-interval models
* set time interval fingerprint as version
* update to check provided version
* delete to check if version is provided in query parameter 'version'
* update integration tests
* update specs
2024-06-06 18:06:37 -04:00
Alexander Weaver
a2e21d61f8
Alerting: Remove dead evalRunning guard in rule routine ( #88312 )
...
Remove dead guard
2024-06-06 16:15:01 -05:00
William Wernert
d359591dac
Alerting: Support recording rule struct in provisioning API ( #87849 )
...
* Support record struct in provisioning API
* Update api spec
* Use record field
* Restrict API endpoints following toggle
* Fix swagger spec
* Add recording rule validation to store validator
2024-06-06 21:05:02 +03:00
Dave Henderson
e21d357d67
chore: Updating linter, fixing some new warnings ( #88863 )
2024-06-06 13:01:27 -04:00
Andreas Christou
c9778c3332
AzureMonitor: Prometheus exemplars support ( #87742 )
...
* Update types
* Mark datasource as supporting traces
* Add logic to transform exemplar query to traces query
* Render appropriate editor
* Run trace query for exemplars
* Refactor out common functions
- Add function to retrieve first/default subscription
* Add route for trace exemplars
* Update logic to appropriately query exemplars
* Update traces query builder
* Update instance test
* Remove unneeded import
* Set traces pseudo data source
* Replace deprecated function calls
* Add helper for setting default traces query
* Don't show resource field for exemplars query
* When resetting operation ID for exemplars set query to default
- Update tests
* Update query header to appropriately set the service value
* Fix response frame creation and update tests
* Correctly select resource
* Convert subscriptionsApiVersion to const
* Add feature toggle
2024-06-06 17:53:17 +01:00
Diego Augusto Molina
ae84c5fef9
Unified Storage: Fix Entity Server unconditionally starting ( #88857 )
...
fix Entity Server unconditionally starting
2024-06-06 12:17:46 -03:00
Will Browne
7d8722b561
API server: Add shutdown func to interface ( #88827 )
...
add shutdown func to interface
2024-06-06 15:18:54 +01:00
Timur Olzhabayev
8690e97c92
Chore: disable proxy trailing slash keep by default ( #88842 )
...
disable proxy trailing slash keep by default
2024-06-06 16:28:11 +03:00
Karl Persson
d3b06f09ae
Users: remove unused store function ( #88784 )
2024-06-06 11:43:51 +02:00
Misi and Christopher Moyer
4f2a9a47f3
Auth: Add org to role mappings support to Okta integration ( #88770 )
...
* Add org mapping support to Okta
* Update docs and configs
* Prettier docs
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Improve tests
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-06 10:35:06 +02:00
Marcus Efraimsson
2403665998
Chore: Remove legacydata package ( #88790 )
...
* Chore: Remove legacydata package
* remove unused dependency
* sdk v0.234.0
2024-06-05 22:31:06 +02:00
owensmallwood
1059441ec6
GRPC Service: Use native histogram when enabled ( #88804 )
...
* use native histogram when enabled
* enable native histograms permanently for grpc service histogram
2024-06-05 12:25:09 -06:00
Diego Augusto Molina
5fc580b401
Unified Storage: Testing For Fix Create, Update and Delete wrt Resource Versions ( #88568 )
...
Add testing harness
2024-06-05 15:18:33 -03:00
Diego Augusto Molina
6fcd7d9e03
Unified Storage: Fix Create, Update and Delete wrt Resource Versions ( #88183 )
...
* add sqltemplate utilities, improve tests and documentation
* bunch of things
* remove unnecessary message
* add queries
* add queries
* add queries
* add folders support
* fix diff
* fix linters
* fix diff
* fix linters
* fix linters
* fix typo
* fix linters
* fix linters
* fix linters
* several fixes
* several fixes
* temporarily disable k8s integration tests for Entity Server
* postpone some tests
* postpone documentation changes
* Fix bug in create
* improve error reporting
* fix PostgeSQL parameters
* fix MySQL sqlmode
* fix MySQL-5.7
* reduce but document the number of database connection options
* remove unused code and improve docs
2024-06-05 14:23:32 -03:00
Alexander Weaver
820ee6e9db
Alerting: Make all in api generator tooling now actually makes all ( #88793 )
...
* Make all now actually makes all
* Clean depends on clean-go
2024-06-05 11:52:31 -05:00
Fayzal Ghantiwala
80f54778f3
Alerting: Add option to use Redis in cluster mode for Alerting HA ( #88696 )
...
* Add config option to use Redis in cluster mode
* Use UniversalOptions
2024-06-05 17:02:25 +01:00
Ivana Huckova
023857625a
Elasticsearch: Remove enableElasticsearchBackendQuerying feature toggle ( #88668 )
...
* wip
* Fix newly introduced any
* Remove toggle
* Remove unused code in LegacyQueryRunner
2024-06-05 17:03:29 +02:00
Ryan McKinley
41e0430f83
K8s/Dashboards: Add frontend api to switch between implementations ( #88632 )
2024-06-05 17:34:23 +03:00
Karl Persson and Christopher Moyer
f28905f8c4
Auth: Add org to role mappings support to Gitlab integration ( #88751 )
...
* Conf: Add org_mapping and org_attribute_path to github and gitlab conf
* Gitlab: Implement org role mapping
* Update docs
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-05 16:15:53 +02:00
Dave Henderson and Sofia Papagiannaki
df784917e4
Alerting: Improve performance of tupleLablesToLabels function ( #88736 )
...
* Alerting: Improve performance of tupleLablesToLabels function
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* use %s for string rather than %v
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2024-06-05 16:19:09 +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
71be5c6eb4
K8s: Remove action metadata key ( #88591 )
...
* remove action
* remove action
* remove action
* fix test
2024-06-05 07:37:36 +03: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
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
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
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
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
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
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