Adam Yeats
facb19fefb
AzureMonitor: Fix mishandled resources vs workspaces ( #83184 )
2024-02-27 16:46:29 +01:00
Will Browne
5edd96ae77
Plugins: Refactor plugin config into separate env var and request scoped services ( #83261 )
...
* seperate services for env + req
* merge with main
* fix tests
* undo changes to golden file
* fix linter
* remove unused fields
* split out new config struct
* provide config
* undo go mod changes
* more renaming
* fix tests
* undo bra.toml changes
* update go.work.sum
* undo changes
* trigger
* apply PR feedback
2024-02-27 12:38:02 +01:00
Gabriel MABILLE
8d9921a5ba
RBAC: Fix delete team permissions on team delete ( #83442 )
...
* RBAC: Remove team permissions on delete
* Remove unecessary deletes from store function
* Nit on mock
* Add test to the database
* Nit on comment
* Add another test to check that other permissions remain
2024-02-27 12:21:26 +01:00
Jo
cc3b088b6c
Teams: Fix missing context in team service ( #83327 )
...
fix missing context in team service
2024-02-27 11:10:54 +01:00
Yuri Tseretyan
6a11bee6af
Alerting: Deprecate max_annotations_to_keep and max_annotation_age in [alerting] configuration section ( #83266 )
...
* introduce new config section [unified_alerting.state_history.annotations] and deprecate settings in [alerting]
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-02-26 17:04:27 -05:00
Isabella Siu
bdeff84068
CloudWatch: Refactor "getDimensionValuesForWildcards" ( #83335 )
2024-02-26 16:19:45 -05:00
Isabella Siu
44639e1063
CloudWatch: Fetch externalId from settings instead of env ( #83332 )
2024-02-26 16:18:22 -05:00
Isabella Siu
0bfe9db668
CloudWatch: Move SessionCache onto the instance ( #83278 )
2024-02-26 15:59:54 -05:00
Misi
9709ac8b84
Auth: Revert provider list change ( #83435 )
...
* Load auth.grafananet as the last provider
* skip test
2024-02-26 20:59:49 +01:00
Takashi Idobe
f209a5a8b8
fix typos ( #83414 )
2024-02-26 10:52:44 -07:00
Mihai Doarna
7b2fa28e0b
SSO: update info field from SocialBase struct ( #83407 )
...
update info field from SocialBase struct
2024-02-26 18:02:46 +02:00
Isabella Siu
7f8a87458f
CloudWatch: Remove unused handleGetRegions and regionCache ( #83333 )
...
* remove unused handleGetRegions and regionCache
* cleanup
2024-02-26 09:35:59 -05:00
Misi
617adb137c
Auth: OAuth strategy load extra fields separately ( #83408 )
...
Load extra fields separately
2024-02-26 15:33:29 +01:00
idafurjes
80447dd0cc
Restructure cloudmigration service ( #83211 )
...
* Restructure cloudmigation service
* Adjust codewoners and wire
* Comment out unused metrics
2024-02-26 14:52:16 +01:00
Khushi Jain
d02de5ddb9
Image Rendering: Add settings for default width, height and scale ( #82040 )
...
* Add Image width & height
* ability to change default width, height and scale
* default ini
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/setting/setting.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/setting/setting.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Added docs, changed frontend
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/api/dtos/frontend_settings.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/api/frontendsettings.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/api/render.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* add query float 64
* Update packages/grafana-runtime/src/config.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/dashboard/components/ShareModal/utils.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* spacing
* fix tests
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-02-26 13:27:34 +01:00
Andres Martinez Gotor
fc8a9aad22
Datasource API: Add config to ctx ( #83386 )
2024-02-26 13:02:55 +01:00
Gabriel MABILLE
80d6bf6da0
AuthN: Remove embedded oauth server ( #83146 )
...
* AuthN: Remove embedded oauth server
* Restore main
* go mod tidy
* Fix problem
* Remove permission intersection
* Fix test and lint
* Fix TestData test
* Revert to origin/main
* Update go.mod
* Update go.mod
* Update go.sum
2024-02-26 11:29:09 +01:00
Serge Zaitsev
d0679f0993
Chore: Add support bundle for folders ( #83360 )
...
* add support bundle for folders
* fix ProvideService in tests
* add a test for collector
2024-02-26 11:27:22 +01:00
Selene
dea0a0f6c8
Kinds: Generate k8 resources without use kindys/thema ( #83310 )
...
Generate k8 resources reading cue file directly instead of use thema/kindsys binding
2024-02-26 10:18:19 +01:00
Todd Treece
110028706a
K8s: Update codegen to support new packages ( #83347 )
...
---------
Co-authored-by: Charandas Batra <charandas.batra@grafana.com>
2024-02-23 16:36:23 -08:00
Todd Treece
e5a26a3f7c
K8s: Add apimachinery and apiserver packages ( #83190 )
2024-02-23 15:15:43 -05:00
Tania
8895b43c85
Chore: Remove docs and kinds report generators ( #83277 )
...
* Chore: Remove codegen for docs
* Remove kindsysreport
2024-02-23 20:06:43 +01:00
Ieva
19b1e71fee
IP range AC for data sources: compare the base of the URL only ( #83305 )
...
* compare the base of the URL and ignore the path
* change the logic to compare scheme and host explicitly
* fix the test
2024-02-23 18:13:21 +02:00
Ieva
65534e62a6
RBAC: add kind, attribute and identifier to annotation permissions during the migration ( #83299 )
...
add kind, attribute and identifier to annotation permissions during the migration
2024-02-23 16:03:23 +00:00
Jo
b2601d71d5
IAM: Remove fully rolled out feature toggles ( #83308 )
...
* remove anon stat ft
* remove split scope flag
* remove feature toggle from frontend
2024-02-23 17:53:37 +02:00
Todd Treece
49d3cb29eb
Chore: Add go workspace ( #83191 )
...
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-02-23 08:54:24 -05:00
George Robinson
a0353b237a
Alerting: Update swagger specs ( #83260 )
2024-02-23 11:25:43 +00:00
Ashley Harrison
a3c73ae7c4
E2C: Add initial empty state ( #83232 )
...
* update subtitle
* add empty state
* rename to InfoPaneLeft/Right
* use '
* add "direction" prop to Box
* update subtitle
* Revert "add "direction" prop to Box"
This reverts commit 99f82a27c7
.
2024-02-23 13:18:09 +02:00
George Robinson
a564c8c439
Alerting: Keep order of time and mute time intervals consistent ( #83257 )
2024-02-22 16:57:20 +00:00
Misi
1ef2e8d366
Chore: Allow self-serve for ssoSettingsApi feature toggle ( #83140 )
...
* Set AllowSelfServe to true ssoSettingsApi
* Align ft registry validation with latest changes
2024-02-22 18:33:27 +02:00
George Robinson
1ed1242358
Alerting: Basic support for time_intervals ( #83216 )
...
This commit adds basic support for time_intervals, as mute_time_intervals
is deprecated in Alertmanager and scheduled to be removed before 1.0.
It does not add support for time_intervals in API or file provisioning,
nor does it support exporting time intervals. This will be added in
later commits to keep the changes as simple as possible.
2024-02-22 15:58:56 +00:00
Gábor Farkas
ae77fe3602
postgres: do not use unexported grafana-core config ( #83241 )
...
* postgres: do not use unexported grafana-core config
* fixed wrong value
2024-02-22 16:47:03 +01:00
Joey
ee5dc14e17
Tempo: Remove trace to metrics feature toggle ( #82884 )
...
* Remove trace to metrics feature toggle
* Fix after merge
2024-02-22 13:30:41 +00:00
Gábor Farkas
3ba33fe278
mysql: do not use unexported grafana-core config ( #83062 )
...
* mysql: do not use unexported grafana-core config
* updated test
2024-02-22 14:22:14 +01:00
Klesh Wong
9282c7a7a4
AuthProxy: Invalidate previous cached item for user when changes are made to any header ( #81445 )
...
* fix: sign in using auth_proxy with role a -> b -> a would end up with role b
* Update pkg/services/authn/clients/proxy.go
Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
* Update pkg/services/authn/clients/proxy.go
Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
2024-02-22 10:02:31 +01:00
Agnès Toulet
8d68159b52
Public Dashboards: Disable email-sharing when there is no license ( #80887 )
...
* PublicDashboards: Disable email-shared dashboards when feature is disabled
* fix pubdash creation when it was email-shared
* add feature name const in OSS
* update doc
* Update service.go
* fix test & linter
* fix test
* Update query_test.go
* update tests
* fix imports
* fix doc linter issues
* Update docs/sources/administration/enterprise-licensing/_index.md
* fix after merge
2024-02-22 09:34:14 +01:00
Pablo
cfcf03bf7a
CloudWatch: Add Firehose kms-related metrics ( #83192 )
...
Add KMS firehose metrics
2024-02-21 14:57:31 -05:00
Ashley Harrison
c75502dd8c
Cloud migration UI: Add migrate-to-cloud
route ( #83072 )
...
* add migrate-to-cloud route
* fix chunk name
* gate route behind feature toggle
* update permission checks
2024-02-21 15:50:13 +00:00
linoman
7e8b679237
OAuth: Improve domain validation ( #83110 )
...
* enforce hd claim validation
* add tests
2024-02-21 15:40:18 +01:00
Carl Bergquist
028d0d0c2c
Rename scope.name to scope.title since name exists in metadata. ( #83172 )
...
name is part of metadata which is confusing
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-02-21 09:32:57 -05:00
Alexander Zobnin
9bbb7f67e0
Chore: Move store interface to top level ( #83153 )
...
* Chore: Move store interface to top level
* Update store mock
2024-02-21 14:32:54 +01:00
Ryan McKinley
809c1eaddb
Snapshots: delete from same org ( #83111 )
...
delete in org
2024-02-21 08:04:15 -05:00
Giuseppe Guerra
68fe045ec7
Plugins: Remove pluginsInstrumentationStatusSource feature toggle ( #83067 )
...
* Plugins: Remove pluginsInstrumentationStatusSource feature toggle
* update tests
* Inline pluginRequestDurationWithLabels, pluginRequestCounterWithLabels, pluginRequestDurationSecondsWithLabels
2024-02-21 12:57:40 +01:00
Gábor Farkas
a62dccb0c0
plugins: add more configuration parameters to the plugin-config ( #83060 )
...
* envvars: add more configs
* made row-limit optional
* more consistent naming
2024-02-21 12:32:10 +02:00
Alexander Zobnin
e7a1ecca28
Annotations: Improve query performance when using dashboard filter ( #83112 )
...
* Annotations: Improve query performance when using dashboard filter
* Add dashboard id filter
2024-02-21 10:30:26 +01:00
Torkel Ödegaard
64e0a4282e
DataQuery: Track panel plugin id not type ( #83091 )
2024-02-21 09:38:42 +01:00
Charandas
0bd009fb53
K8s: fix nil deref from dummy factory for API Server options ( #83132 )
2024-02-20 23:00:02 +02:00
Jan Garaj
8162ec2960
CloudWatch: Update AWS/ES metrics ( #83037 )
...
CloudWatch: update AWS/ES metrics
2024-02-20 13:46:29 -05:00
Jan Garaj
ef23148b36
CloudWatch: Update AWS/EC2 metrics ( #83039 )
...
CloudWatch: update AWS/EC2 metrics
2024-02-20 12:13:50 -05:00
Kyle Brandt
4859cdeae5
K8S/Scopes: App-server for storing scope objects ( #81996 )
...
Build out app-server stub
---------
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2024-02-20 18:28:27 +02:00