Commit Graph

4583 Commits

Author SHA1 Message Date
Easwar Swaminathan 9b7a947cdc
grpc: support channel idleness (#6263) 2023-05-22 12:42:45 -07:00
Zach Reyes 098b2d00c5
xds/internal/balancer/outlierdetection: Switch Outlier Detection to use new duration field (#6286) 2023-05-18 14:28:53 -04:00
Doug Fawley 417d4b6895
examples: add error_handling example; move errors to error_details (#6293) 2023-05-17 14:57:56 -07:00
Gregory Cooke 390c392f84
authz: Rbac engine audit logging (#6225)
add the functionality to actually do audit logging in rbac_engine.go and associated tests for that functionality.
2023-05-17 10:21:06 -04:00
erm-g 52fef6da12
authz: Stdout logger (#6230)
* Draft of StdoutLogger

* Fitting StdoutLogger to lb patterns

* conversion from proto to json for laudit loggers

* Tests for multiple loggers and empty Options

* Added LoggerConfig impl

* Switched to grpcLogger and added a unit test comparing log with os.StdOut

* Minor fix in exception handling wording

* Added timestamp for logging statement

* Changed format to json and added custom marshalling

* Migration to log.go and additional test for a full event

* Migration of stdout logger to a separate package

* migration to grpcLogger, unit test fix

* Delete xds parsing functionality. Will be done in a separate PR

* Delete xds parsing functionality. Will be done in a separate PR

* Address PR comments (embedding interface, table test, pointer optimizations)

* vet.sh fixes

* Address PR comments

* Commit for go tidy changes

* vet.sh fix for buf usage

* Address PR comments

* Address PR comments

* Address PR comments (easwars)

* Address PR comments (luwei)

* Migrate printing to standard out from log package level func to a Logger struct func. Add timestamp testing logic. Add registry presense test.

* Changed event Timestamp format back to RFC3339

* Address PR comments

* Address PR comments

* Address PR comments

* Address PR comments
2023-05-17 10:03:37 -04:00
Sergii Tkachenko 92e65c890c
test/kokoro: Add custom_lb_test to the xds_k8s_lb job (#6290) 2023-05-16 18:20:55 -04:00
Zach Reyes 756119c7de
xds/outlierdetection: forward metadata from child picker (#6287) 2023-05-16 15:46:31 -04:00
Doug Fawley 8eba9c2de1
github: upgrade to v3 of checkout & setup-go (#6280) 2023-05-15 15:49:19 -07:00
Doug Fawley 24fd252163
proto: update generated code to match grpc-proto changes (#6283) 2023-05-15 15:49:07 -07:00
Doug Fawley 4eb88d7d67
cleanup: use new Duration type in base ServiceConfig (#6284) 2023-05-15 15:48:02 -07:00
Zach Reyes 1230f0e43c
xds/internal/xdsclient: Split registry up and two separate packages (#6278) 2023-05-15 18:19:18 -04:00
Doug Fawley 0bdae48058
interop: fix interop_test.sh shutdown (#6279) 2023-05-15 14:40:35 -07:00
Doug Fawley 5dcfb37c0b
interop: hold lock on server for OOB metrics updates; share 30s timeout (#6277) 2023-05-12 14:09:59 -07:00
Zach Reyes 68381e7bd2
xds: WRR in xDS (#6272) 2023-05-12 15:28:07 -04:00
Doug Fawley fd376a5cbd
test: fix flaky TimeoutOnDeadServer test; some cleanups (#6276) 2023-05-12 11:01:06 -07:00
Doug Fawley 1db474c85c
weightedroundrobin: fix duration format in lb config (#6271) 2023-05-11 14:56:53 -04:00
Doug Fawley 523dcddf9a
weightedroundrobin: fix test race accessing timeNow (#6269) 2023-05-11 09:37:17 -07:00
Zach Reyes 1536887cc6
interop/xds: Add Custom LB needed for interop test (#6262) 2023-05-11 12:29:32 -04:00
Doug Fawley 7d6134424a
examples: fix authz example to receive streaming error properly (#6270) 2023-05-11 09:24:03 -07:00
Zach Reyes afcbdc9ace
xds/internal/xdsclient/xdslbregistry: Continue in converter if type not found (#6268) 2023-05-10 19:30:34 -04:00
Doug Fawley b3fbd87a9e
interop: add ORCA test cases and functionality (#6266) 2023-05-10 13:26:37 -07:00
Zach Reyes 5e587344ee
xds: Add support for Custom LB Policies (#6224) 2023-05-08 21:29:36 -04:00
Doug Fawley 5c4bee51c2
balancer/weightedroundrobin: add load balancing policy (A58) (#6241) 2023-05-08 10:01:08 -07:00
Easwar Swaminathan c44f77e12d
grpc: use CallbackSerializer in balancer wrapper (#6254) 2023-05-05 16:07:27 -07:00
Doug Fawley f193ec0183
orca: fix race when calling listeners coincides with updating the run goroutine (#6258) 2023-05-05 14:25:11 -07:00
Doug Fawley 417cf84607
test: deflake TestBalancerProducerHonorsContext (#6257) 2023-05-05 11:08:42 -07:00
Mikhail Mazurskiy 1f3fe1c8bc
Update ClientStream.SendMsg doc (#6247) 2023-05-05 08:38:20 -07:00
Easwar Swaminathan ccad7b7570
grpc: use CallbackSerializer in resolver_wrapper (#6234) 2023-05-04 16:05:13 -07:00
Doug Fawley 47b3c5545c
orca: fix race at producer startup (#6245) 2023-05-03 13:47:37 -07:00
Tobo Atchou 56b33d5cd0
server/transport: send appropriate debug_data in GOAWAY frames (#6220) 2023-05-03 09:58:06 -07:00
Doug Fawley add90153d4
orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (#6223) 2023-05-02 15:04:33 -07:00
Doug Fawley 40d01479bb
googledirectpatph: enable ignore_resource_deletion in bootstrap (#6243) 2023-05-02 14:07:59 -07:00
Doug Fawley ed3ceba605
balancer: make producer RPCs block until the SubConn is READY (#6236) 2023-05-02 10:09:23 -07:00
Easwar Swaminathan b153b006ce
multiple: standardize import renaming for typed structs (#6238) 2023-05-01 17:30:53 -07:00
Doug Fawley 713bd04130
orca: minor cleanups (#6239) 2023-05-01 17:03:11 -07:00
Easwar Swaminathan 21a339ce4a
grpc: handle RemoveSubConn inline in balancerWrapper (#6228) 2023-05-01 16:50:35 -07:00
Easwar Swaminathan b15382715d
xds: make glaze happy for test packages (#6237) 2023-05-01 14:14:32 -07:00
Doug Fawley 019acf2e94
stubserver: add option for allowing more services to be registered (#6240) 2023-05-01 14:11:23 -07:00
Gregory Cooke cf89a0b931
authz: Swap to using the correct TypedConfig in audit logger parsing (#6235)
Swap audit logger parsing to using the correct TypedConfig representation
2023-05-01 14:37:26 -04:00
Zach Reyes df82147145
internal: Document gcp/observability 1.0 dependencies in /internal (#6229) 2023-04-28 17:05:41 -04:00
Arvind Bright da1a5eb25d
tests: nix TestClientDoesntDeadlockWhileWritingErroneousLargeMessages (#6227) 2023-04-26 16:58:00 -07:00
Gregory Cooke e853dbf004
authz: add conversion of json to RBAC Audit Logging config (#6192)
Add conversion of json to RBAC Audit Logging config
2023-04-26 15:05:18 -04:00
Zach Reyes 497436cef1
xds/internal/balancer/outlierdetection: Change string to String (#6222) 2023-04-26 12:56:27 -04:00
Easwar Swaminathan de11139ae6
clusterresolver: improve tests (#6188) 2023-04-26 09:50:03 -07:00
Zach Reyes eff0942e95
xds/internal/xdsclient: Custom LB xDS Client Changes (#6165) 2023-04-25 22:47:15 -04:00
Sergey Matyukevich 8628e075df
xds/internal/balancer/outlierdetection: Add Channelz Logger to Outlier Detection LB (#6145) 2023-04-25 13:17:53 -04:00
Gregory Cooke 83c460b8de
authz: Move audit package (#6218)
* Move audit logger to it's own package

* remove audit prefixes since its the package name now

* Add package comment
2023-04-21 14:48:11 -04:00
Easwar Swaminathan 8c70261b5c
grpc: ClientConn cleanup in prep for channel idleness (#6189) 2023-04-20 18:49:17 -07:00
Doug Fawley 2cd95c7514
gcp/observability: remove redundant import (#6215) 2023-04-19 10:54:34 -07:00
Arvind Bright 16651f60dd
go.mod: update all dependencies (#6214) 2023-04-18 17:02:56 -07:00