MCPcopy
hub / github.com/grpc/grpc-go / clientStats

Method clientStats

internal/xds/test/e2e/e2e.go:85–91  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

83}
84
85func (c *client) clientStats(ctx context.Context) (*testpb.LoadBalancerStatsResponse, error) {
86 ccc := testgrpc.NewLoadBalancerStatsServiceClient(c.statsCC)
87 return ccc.GetClientStats(ctx, &testpb.LoadBalancerStatsRequest{
88 NumRpcs: 100,
89 TimeoutSec: 10,
90 })
91}
92
93func (c *client) configRPCs(ctx context.Context, req *testpb.ClientConfigureRequest) error {
94 ccc := testgrpc.NewXdsUpdateClientConfigureServiceClient(c.statsCC)

Callers 2

TestPingPongFunction · 0.80
TestAffinityFunction · 0.80

Calls 1

GetClientStatsMethod · 0.95

Tested by 2

TestPingPongFunction · 0.64
TestAffinityFunction · 0.64