Isabella Siu
a0b68deae4
Cloudwatch: Remove cloudWatchWildCardDimensionValues feature toggle ( #84329 )
2024-03-15 09:49:53 -04:00
ismail simsek
eae9bfe4bc
Chore: Promlib allows extendOptions to be nil ( #84463 )
...
* use logger from service
* allow extendOptions to be nil
* Update logger
2024-03-15 13:37:29 +01:00
Sofia Papagiannaki
1208888bb6
Folders: Allow listing folders with write permission ( #83527 )
...
* Folders: Allow listing folders with write permission
* Check for subfolder access if parent does not have
* Add test
* GetFolders: fix ordering
* Apply suggestion from code review
2024-03-15 14:05:27 +02:00
Will Browne
9d453d0dcc
Plugins: Remove direct featuremgmt.FeatureToggles dependency from plugins config ( #84482 )
2024-03-15 10:58:51 +01:00
Karl Persson
ebf455d107
RBAC: Don't refetch permissions when searching for users in authenticated org ( #84546 )
...
Don't refetch permissions when searching for users in authenticated org
2024-03-15 10:36:16 +01:00
Charandas
759cefd94c
ExtSvcAccounts: FIX tests that accidently depended on enterprise ( #84535 )
...
* ExtSvcAccounts: FIX tests that accidently depended on enterprise
* fix
2024-03-15 08:18:11 +01:00
Charandas
34b5303daf
K8s: file-storage: provide empty for resourceVersion initially ( #84523 )
2024-03-14 16:33:41 -07:00
Dan Cech
0fa0cede75
Storage: streamline context handling ( #84319 )
...
streamline context handling
2024-03-14 17:12:20 -04:00
Gabriel MABILLE and Karl Persson
2795f9827a
ExtSvcAccounts: FIX prevent service account deletion ( #84502 )
...
* ExtSvcAccounts: Fix External Service Accounts Login check
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* Remove service accounts assignments and permissions on delete
* Fix first set of tests
* Fix second batch of tests
* Fix third batch of tests
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-03-14 19:11:02 +01:00
Yuri Tseretyan
827860d459
Alerting: Alerting accesscontrol utilities ( #84508 )
...
* create fake for accesscontrol.RuleService
* make errAuthorizationGeneric public
2024-03-14 14:03:53 -04:00
Yuri Tseretyan
f7d836feed
Alerting: Update rule provisioning service to accept user ( #84480 )
2024-03-14 12:04:10 -04:00
Gilles De Mey
fe15bb5f48
Alerting: Update composable_kind.go ( #84479 )
...
update composable_kind.go
2024-03-14 17:20:23 +02:00
Alexander Zobnin
f36ad469d0
Access Control: Get global role from request params ( #84469 )
2024-03-14 16:17:24 +01:00
8765c48389
Alerting: Remove legacy alerting ( #83671 )
...
Removes legacy alerting, so long and thanks for all the fish! 🐟
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
Co-authored-by: Sonia Aguilar <soniaAguilarPeiron@users.noreply.github.com >
Co-authored-by: Armand Grillet <armandgrillet@users.noreply.github.com >
Co-authored-by: William Wernert <rwwiv@users.noreply.github.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-03-14 15:36:35 +01:00
Gilles De Mey
336acaf0bf
Alerting: Promote new alerting detail view ( #84277 )
2024-03-14 15:18:01 +01:00
William Wernert
8690a42e33
Alerting: Disallow invalid rule namespace UIDs in provisioning API ( #83938 )
...
* Disallow invalid rule namespace UIDs in provisioning
Reject requests with rules that reference a nonexistent folder or have an empty folder uid
2024-03-14 09:58:25 -04:00
Timur Olzhabayev
8e90e02db2
Chore: Adding log also for cases where datasource UID length is invalid ( #84443 )
...
* Adding log also for datasource length
2024-03-14 14:49:07 +01:00
Karl Persson and Ieva
8d9521fb6d
Refactor: Email verification ( #84393 )
...
* Update template names
* Add verifier that we can use to start verify process
* Use userVerifier when verifying email on update
* Add tests
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-03-14 13:25:28 +01:00
Gábor Farkas
97521ef988
postgres: improve snapshot-tests for long/wide situations ( #84387 )
2024-03-14 12:37:04 +01:00
linoman
831ee9ee16
samlsettings: add sso settings saml feature flag ( #84433 )
...
* add feature flag for ssosettings saml configuration
* add generated files
2024-03-14 12:04:45 +01:00
Andreas Christou
391d14d091
Chore: Bump update checker interval to 1 day ( #84404 )
...
* Bump interval to 1hr
* 2 hours is better than 1
* Bump further to 1 day
2024-03-14 13:00:26 +02:00
Charandas
b6a020148b
K8s: disallow MT storage functionality for Aggregator builders ( #84408 )
2024-03-14 01:54:30 +02:00
Sven Grossmann
34f9bff9e0
Loki: Fix null pointer exception in case request returned an error ( #84398 )
...
Loki: Fix nullpointer in case query returned an error
2024-03-13 18:14:21 +01:00
Selene
5c7849417b
Schemas: Replace registry generation and github workflow ( #83490 )
...
* Create small registries for core and composable kinds
* Update workflow with new registries
* Fix imports in plugin schemas and deleted old registry generation files
* Remove verification and maturity
* Modify registries and add missing composable information to make schemas in kind-registry work
* Add missing aliases
* Remove unused templates
* Remove kinds verification
* Format generated code
* Add gen header
* Delete unused code and clean path in composable template
* Delete kind-registry loader
* Delete unused code
* Update License link
* Update codeowners path
* Sort imports
* More cleanup
* Remove verify-kinds.yml from codeowners
* Fix lint
* Update composable_kidns
* Fix cue extension
* Restore verify-kinds to avoid to push outdated kind's registry
* Fix composable format
* Restore code owners for verify-kinds
* Remove verify check
2024-03-13 18:05:21 +02:00
Alexander Zobnin and Ieva
fd9031ca37
Access Control: Get org from request data for authorization ( #84359 )
...
* Access Control: Get org from request data for authorization
* move type to models
* Update pkg/services/accesscontrol/middleware.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* refactor
* refactor
* Fix linter
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-03-13 17:05:03 +01:00
Gábor Farkas
eca1bba01e
postgres: add more tests (to handle zero-rows queries) ( #84384 )
2024-03-13 16:23:50 +01:00
Joey
1f2e9a544d
Tempo: Remove Loki tab ( #84346 )
...
* Update docs
* Remove loki tab from config settings
* Remove loki query field
* Remove loki search from ds, resultTransformer, tracking and tests
* Cleanup removal of loki search
* Remove loki section from query editor docs
* Remove search type
2024-03-13 14:22:20 +00:00
Georges Chaudy
06b7f6befa
k8s: ensure unified storage address is populated from config ini ( #84373 )
...
fix: ensure unified storage address is populated from config ini
2024-03-13 15:17:26 +01:00
Misi
f5c78e0ad9
RBAC: Add ActionSettingsRead action to general.auth.config writer ( #84366 )
...
Add ActionSettingsRead action to general.auth.config writer
2024-03-13 14:48:13 +01:00
Jack Westbrook and Andres Martinez
6599fa805d
Plugins: Always load decoupled frontend assets from builds ( #81873 )
...
* Wip
* Wip
* Adapt to load external module
* build: remove cloudmonitoring from built_in_plugins, clean up webpack output
* chore(plugins): remove decoupled plugins from package.json deps
* chore(codeowners): update file for nx.json
* revert(webpack): put back path in config
* build(frontend): use nx to run prod builds of decoupled plugins with yarn build
* style(prometheus): run prettier-write to fix tsconfig.json
* style(backend): remove unused subFile.isDistDir
* revert(locales): remove formatting changes adding new line at end of files
* chore(webpack): clean up dev output
* build(nx): make grafana an nx project, bump lerna and nx
* build(plugin-configs): move cache directory to node_modules
* style(datasource-plugins): add eslint ignore for .gen.ts files
* chore(codeowners): add frontend-ops as owner of project.json
* build(webpack): add getDecoupledPlugins to automatically ignore when watching
* ci(drone): skip nx cache when building frontend packages
* style(ci): fix missing trailing comma
* Revert "style(ci): fix missing trailing comma"
This reverts commit 7520d41576 .
* Revert "ci(drone): skip nx cache when building frontend packages"
This reverts commit 46938883ac .
* feat(zipkin): remove from grafana core bundle
* chore(npm): bump nx package to latest 18.0.8
* docs(dev-guide): add a note about what yarn start now builds
---------
Co-authored-by: Andres Martinez <andres.martinez@grafana.com >
2024-03-13 12:40:09 +01:00
Selene
75ea33e0cd
Schemas: Delete unused code from the previous refactors ( #84254 )
...
* Delete unused code from the previous refactors
* Sort imports
2024-03-13 12:30:05 +01:00
Ivana Huckova and Sven Grossmann
2a1a5145d0
Elasticsearch: Fix using of individual query time ranges when querying ( #84201 )
...
* WIP - proof of concept
* Update pkg/tsdb/elasticsearch/client/client.go
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* update and add test
* lint
* Fix lint
* Bring back logging when creating client
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-03-13 12:49:35 +02:00
Timur Olzhabayev
c6140b9893
Docs: Aligning fallback values with documentation ( #83617 )
...
aligning fallback values with documentation
2024-03-13 11:19:04 +02:00
Andres Martinez Gotor
c061cc33cc
Chore: Use response limit middleware from SDK ( #83915 )
2024-03-13 10:14:16 +01:00
Gábor Farkas
ecd6de826a
Postgres: Switch the datasource plugin from lib/pq to pgx ( #83768 )
...
postgres: switch from lib/pq to pgx
2024-03-13 09:52:39 +01:00
Mihai Doarna
2acd48d1c2
SSO: fix mergeSettings() in case the DB contains empty URLs ( #84290 )
...
* fix mergeSettings() in case the db contains empty strings
* use correct github urls in test
* overwrite only urls
* update comment for mergeSettings()
2024-03-13 10:31:17 +02:00
linoman
66fa310fba
SAMLSettings: implement settings strategy ( #84191 )
...
* add strategy and tests
* use settings provider service and remove multiple providers strategy
* update codeowners file
* reload from settings provider
2024-03-13 09:14:42 +01:00
Sarah Zinger
3f5526b915
Cloudwatch: Fix issue with Grafana Assume Role ( #84315 )
2024-03-12 16:30:54 -04:00
Charandas
0eee72824c
K8s: omit CABundle until insecure is false ( #84323 )
2024-03-12 21:58:02 +02:00
Yuri Tseretyan
cfc3957894
Alerting: move store.ErrAlertRuleGroupNotFound to models package ( #84308 )
...
move ErrAlertRuleGroupNotFound to models to avoid future circular dependencies
2024-03-12 15:38:21 -04:00
Andres Martinez Gotor
265200799d
Chore: Update grafana-plugin-sdk ( #84289 )
2024-03-12 17:13:23 +01:00
ismail simsek
22860a7978
Chore: Use mapUtil from grafana-plugin-sdk-go ( #84297 )
...
use mapUtil from grafana-plugin-sdk-go
2024-03-12 10:08:10 -05:00
Matias Chomicki
fb172b1b33
Explore logs: remove exploreScrollableLogsContainer and track scroll to top ( #84291 )
...
* exploreScrollableLogsContainer: remove
* LogsNavigation: track scroll to top clicks
* Add missing dependency to the effect
2024-03-12 15:53:13 +01:00
Leonard Gram
f15aa2d30d
CloudMigrations: draft of cloud migration tables ( #83990 )
...
* CloudMigrations: draft of cloud migration tables
* naming migration rules
* removes feature flag for migration
* tweaked db types
* removed comment
2024-03-12 15:44:10 +01:00
Michael Mandrus
d69b19e431
Queries: Improve debug logging of metrics queries ( #84048 )
...
* just log everything
* fix times
2024-03-12 16:17:22 +02:00
Joey
42d8f1bef9
Tempo: Update TraceQLStreaming feature toggle stage ( #84203 )
...
Update TraceQLStreaming feature toggle stage
2024-03-12 14:10:13 +00:00
William Wernert
10dc6c6d75
Alerting: Add "Keep Last State" backend functionality ( #83940 )
...
* Implement keep last state for state transitions
* Respect For duration when keeping state
* Only keep transition from recording an annotation
* Add keep last state option for nodata/error in UI
2024-03-12 10:00:43 -04:00
ismail simsek
ae70cd953d
Chore: Use the promlib v0.0.1 ( #84210 )
...
* use the promlib v0.0.1
* add a readme
* go mod update
* replace promlib
* update readme
* update
* update go work sum
* update 2
* update readme
2024-03-12 15:25:32 +02:00
Josh Michielsen and ismail simsek
297d73a7df
InfluxDB: Add configuration option for enabling insecure gRPC connections ( #83834 )
...
* InfluxDB: add configuration option for enabling insecure gRPC connections
* fix: add insecureGrpc to InfluxOptions
* rename options label 'gRPC' -> 'Connection'
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* update docs: rename options label 'gRPC' -> 'Connection'
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* default insecure connection boolean to false in frontend
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* run prettier:write
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-03-12 13:36:11 +01:00
Sofia Papagiannaki and Christopher Moyer
22d8258e48
Postgres: Allow disabling SNI on SSL-enabled connections ( #83892 )
...
* Postgres: Allow disabling SNI on SSL-enabled connections
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-03-12 12:03:24 +02:00