Prem Saraswat
ca2c874161
authn: grpcutils: Mark ID Tokens optional in cloud mode in gRPC Authenticator ( #96824 )
...
This patch marks ID tokens as not required when initalising a gRPC
Authenticator to be used in `cloud` mode. ID Tokens are still enabled in
`cloud` mode, but the `Required` option is set to `false`.
This is needed for MT services like Cloud API Server to authenticate
against gRPC services like Resource Store with only an Access Token.
Signed-off-by: Prem Kumar <prem.saraswat@grafana.com >
2024-11-21 18:41:49 +05:30
Georges Chaudy
4f8ab73a8c
unistore: Add support for verify-full in postgres ( #96825 )
...
Add support for verify-full in postgres
2024-11-21 12:31:33 +00:00
Georges Chaudy
8bb59c64f0
unistore: handle auth when fallback is used ( #96772 )
...
* handle auth when fallback is used
* handle auth when fallback is used
* add traces
2024-11-21 12:21:22 +02:00
Karl Persson
a5e743895b
Zanzana: Capabilities api ( #96682 )
...
* Add capabilities api
2024-11-21 10:51:16 +01:00
Daniel Strobusch
169b61b98d
[docs] document 409 Conflict on updating data sources. ( #93170 )
2024-11-21 11:28:30 +02:00
Gabriel MABILLE
a9b938427e
Fix: Correct handling of base64 padding during aes-gcm private key decryption. ( #96761 )
...
* SecretsService: Use RawStdEncoding to avoid padding
* Commment
* Forgot one line
* Backward compatibility
2024-11-21 10:08:48 +01:00
Karl Persson
e995d4f682
Zanzana: Add setting zanzana reconciliation interval ( #96687 )
...
Add config option under RBAC for zanzana reconciliation interval
2024-11-21 09:20:29 +01:00
Ryan McKinley
0cb6c3d7bf
UnifiedSearch: Introduce a DocumentBuilder interface ( #96738 )
2024-11-21 07:53:25 +02:00
Ieva
a60953c8f9
GAS: Show mapped roles in role picker ( #96681 )
...
* add group mapping UID returned mapped roles
* request mapped roles from the frontend, but don't attempt to update mapped roles
* lock mapped roles and show a pop-up message about why a role is locked
* update role selectors to not allow deselecting a mapped role
* swagger gen
* simplify and set mapped as bool instead of mapping UID array
* swagger gen
2024-11-20 17:37:12 +00:00
Ivana Huckova
6b5a05486b
Fix error source for clientSecret not found error ( #96771 )
...
* Fix error source for clientSecret not found errir
* Use errors.New as we are not formatting the error
2024-11-20 17:16:02 +01:00
Adam Simpson
c010bf2dc7
ds-querier: account for -100 meaning __expr__ ( #96565 )
...
* ds-querier: account for -100 meaning __expr__
* temp debug log error parsing query
* var confusion
* log error
2024-11-20 10:28:31 -05:00
Juan Cabanas
b8e92aacd2
PublicDashboards: Remove publicDashboards FF ( #96578 )
2024-11-20 11:36:19 -03:00
Eric Leijonmarck
9f53362e3c
Serviceaccounts: FIX adds qoute for user UID query for postgres ( #96749 )
...
* Add qoute for user UID of postgres
* add tests for uid
* fix for uid check not expectable
2024-11-20 16:11:03 +02:00
Mihai Doarna
cb7dd25f8a
Optimize tokens count from service accounts query ( #96663 )
...
* optimize tokens count from service accounts query
* add unit tests for tokens count
* skip broken test
* fix lint error
* rename Tokens to TokenCount
2024-11-20 14:52:23 +02:00
Laura Fernández
f1601b1c0f
SingleTopNav: Update singleTopNav feature toggle to GA and enabled by default ( #96752 )
2024-11-20 13:30:19 +01:00
Sriram
492e7d4a3d
Datasources: health check logging improvements ( #96403 )
...
* basic healthcheck logging
* show detailed error for admins
* fix linting errors
* fix config summary keys
* passing context to logger
* tracking health check errors
* remove tracking
2024-11-20 11:42:05 +00:00
Gabriel MABILLE
aa2b4751a0
AuthZ: Launch service within IAM app ( #96421 )
2024-11-20 11:13:33 +01:00
Andre Pereira
bf74b9c9c0
Tempo: Run TraceQL metrics queries through backend ( #96246 )
...
* Move TraceQL metrics queries to backend
* Add tests for TransformMetricsResponse
* Add tests for createMetricsQuery
* Refactor, detect metric queries and throw error for search queries
* Remove unneeded types
* Don't add start and end if they are 0. Return on err
* lint
* Fix pre-alloc of frames
* Address PR comments
2024-11-19 15:51:07 +00:00
Ryan McKinley
7985fa573e
UnifiedStorage: Add ResourceTable format ( #96506 )
2024-11-19 15:47:59 +02:00
Karl Persson
11a4a366c6
Zanzana: Optimize batch check ( #96669 )
...
* Restructure check code so we only check namespace access once for each GroupResource during for batch
2024-11-19 14:39:46 +01:00
Georges Chaudy
e270412dbf
unistore: wire the authz client ( #96632 )
...
* unistore: wire the authz client
* rename dashboards.grafana.app into dashboard.grafana.app
* wire the authz client
* wire the authz client
* resuse the Standalone constructor
* configure default migration for resource folder
* add tests
* cleanup
* add logging
2024-11-19 15:13:30 +02:00
Stephanie Hingtgen
6571451a57
K8s: dashboards: fix conversion ( #96648 )
2024-11-19 05:32:05 -07:00
Karl Persson
7e442efa9c
Zanzana: sync roles and bindings ( #96661 )
...
* Sync fix and custom roles and team bindings.
* Add collector for user role bindings
2024-11-19 13:18:44 +01:00
linoman
8b7100a9aa
Auth: Add None role to Viewer case ( #96624 )
...
Add None role to Viewer case
2024-11-19 11:29:58 +01:00
Zoltán Bedi
3fa8df6b62
MySQL: Fix tls skip verify option ( #96475 )
...
MySQL: Fix skip tls verify option
2024-11-19 10:46:24 +01:00
Cedric Ziel
89e7e25b60
Backend: Inject server-timing header to match initial loads with client-side telemetry ( #94978 )
...
feat: inject server-timing header to match initial loads with client-side telemetry
Faro Web SDK can read the server-timing info and
correlate the initial request with the client side telemetry gather from navigation timings.
2024-11-19 10:01:58 +02:00
Matthew Jacobson
2364299a8c
Alerting: Fix annotation state migration to retain nullability on MySQL ( #96640 )
2024-11-18 15:51:45 -05:00
Ivana Huckova and Nathan Vērzemnieks
d00c4fd35a
Elasticsearch: Replace error source http client with a new error source methods ( #96570 )
...
* Elasticsearch: Replace error source http client with methods
* Update
* Update
* Update tests
* Update
* Update
* Update pkg/tsdb/elasticsearch/data_query.go
Co-authored-by: Nathan Vērzemnieks <njvrzm@gmail.com >
* Trigger build
---------
Co-authored-by: Nathan Vērzemnieks <njvrzm@gmail.com >
2024-11-18 14:39:21 +01:00
Alexander Zobnin and Karl Persson
1366197522
Zanzana: Search with check server side ( #96268 )
...
* pass zclient into dashboard service
* Search then check implementation
* Use GetNamespace() for user
* remove unused orgID
* simple batch check
* refactor
* add tests
* fix batchCheckItem
* client implements batch check
* use batch check in search
* remove unused
* remove All field from response
* refactor: extract checkNamespace
* fix search result uniqueness
* comment fix
* Apply suggestions from code review
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* refactor
* cleanup
* remove unnecessary check
* fix tests
* fix protobuf def
* Fix query page
* fix type
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-11-18 14:01:28 +01:00
Sam Jewell
1915efbc95
SQL Expressions: Simplify where code is being stubbed out ( #96227 )
...
* Rename from DuckDB
* Remove unused function
2024-11-18 12:05:08 +00:00
Sonia Aguilar
76444c7913
Alerting: Add alertingOptimizeReducerInUI feature toggle ( #96608 )
...
add alertingOptimizeReducerInUI feature toggle
2024-11-18 12:59:00 +02:00
Ieva
0a85f15214
RBAC: Remove folder name scope resolver ( #96484 )
...
* remove folder name scope resolver
* update test
2024-11-18 12:47:10 +02:00
Ivana Huckova
8a551bacfb
Zipkin: Move query running to backend ( #96404 )
...
* Rename method applyTemplateVariables so it used by backend
* Zipkin: Move query running to backend
* Fix error source
* Hndle invalid query and return error response
2024-11-18 10:59:29 +01:00
Matthew Jacobson
65097d4b54
Alerting: Fix k8s api route fingerprint to include ObjectMatchers and Provenance ( #96591 )
...
Fix route fingerprint to include ObjectMatchers and Provenance
2024-11-16 08:38:30 -05:00
Charandas
9223cd8f59
Cloud Aggregation: make it work for users with no name ( #96509 )
2024-11-16 01:28:54 +02:00
Ryan McKinley and Todd Treece
29cdfdff87
Storage: Revert using real gRPC for integration tests ( #96410 )
...
---------
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-11-15 16:50:49 -05:00
Todd Treece and Stephanie Hingtgen
66d5c051aa
Dashboards: Add v1alpha1 and v2alpha1 conversion ( #96415 )
...
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2024-11-15 15:49:45 -05:00
Isabella Siu
fcd88d356c
Cloudwatch: Fix parsing for ec2 resource attributes ( #96501 )
2024-11-15 15:17:50 -05:00
Yuri Tseretyan
420db99d16
Alerting: Update state manager to have immutable state in cache ( #95985 )
...
* create a new state and set at the end
* propagate labels datasource_uid and ref_id from current state if it's error
* copy the state when apply to all
2024-11-15 15:01:02 -05:00
Stephanie Hingtgen
b12c731d59
Stars: Add dashboard_uid and org_id to table ( #96408 )
2024-11-15 09:51:31 -06:00
Matthew Jacobson
c6a90ed3cd
Alerting: Fix long KeepLast annotations failing to save ( #96503 )
...
Certain combinations of KeepLast state transition annotations exceed the current
limit of 25 characters. This increases the column size limit to be able to
handle the longest combination (27) with some extra space for comfort.
2024-11-15 10:43:56 -05:00
Isabella Siu
06196022cf
Elasticsearch: Update grafana-plugin-sdk-go for sse errorsource updates ( #96144 )
2024-11-15 10:18:07 -05:00
Gareth Dawson
cc1d76fc0a
Jaeger: Add feature toggle for backend migration ( #96494 )
...
* add feature toggle for jaeger backend migration
* add codeowners
2024-11-15 14:40:20 +00:00
Ryan McKinley
cc6d057a18
Provisioning: Rename k8s origin metadata to repo ( #96524 )
2024-11-15 17:26:14 +03:00
Arati R. and Jean-Philippe Quéméner
2e62f75166
K8s/Folders: Allow recursive creation of DTO ( #96439 )
...
* Fix toDTO
* Remove conversion function for folder dto
* Convert toDTO to a standalone function
---------
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2024-11-15 15:21:57 +01:00
Sven Grossmann
5965aa9aca
Loki: Fix healthcheck logger always appending endpoint ( #96531 )
...
* Loki: Fix healthcheck logger always appending `endpoint`
* add test
2024-11-15 12:51:52 +01:00
Karl Persson
1f34096fdf
Zanzana: reconcile basic roles and bindings ( #96473 )
...
* Add reconciler for basic roles
* Add reconciler for basic role bindings
2024-11-15 12:10:22 +01:00
Karl Persson
7e38fd733b
Zanzana: Lazy load cached store info ( #96452 )
...
* Lazy load cached store infos
2024-11-15 11:44:34 +01:00
Ashley Harrison
eededdd4c1
SingleTopNav: Update singleTopNav feature toggle to public preview ( #96527 )
...
update singleTopNav to public preview
2024-11-15 12:06:27 +02:00
Andre Pereira
65b50b67c4
Tempo: Fix trace kvlist and array transformations ( #96388 )
...
* Fix kvlist and array transformations
* Log transformation errors
2024-11-15 09:35:41 +00:00