diff options
author | Kun Zhang <zhangkun83@users.noreply.github.com> | 2017-11-01 16:46:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 16:46:05 -0700 |
commit | d87ef74082220bdbdcb98b94cd9a3dac9482d813 (patch) | |
tree | c1e5998a130e3ceda67ff4a2aff4f70c474e8b43 /grpclb | |
parent | 253a01461b4999b6aeb27e54d88ef0bba04239b1 (diff) | |
download | grpc-grpc-java-d87ef74082220bdbdcb98b94cd9a3dac9482d813.tar.gz |
core: set sampled for local span per MethodDescriptor. (#3627)
This moves away from the global String-based Span name registry which
is not as flexible as we desire.
Also renamed the option name to be more accurate. This is not
API-breaking because the origianl addition to MethodDescriptor and
code-gen didn't make it into the 1.7.0 release.
Diffstat (limited to 'grpclb')
-rw-r--r-- | grpclb/src/generated/main/grpc/io/grpc/grpclb/LoadBalancerGrpc.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grpclb/src/generated/main/grpc/io/grpc/grpclb/LoadBalancerGrpc.java b/grpclb/src/generated/main/grpc/io/grpc/grpclb/LoadBalancerGrpc.java index a6528e8dc..b6d4c7078 100644 --- a/grpclb/src/generated/main/grpc/io/grpc/grpclb/LoadBalancerGrpc.java +++ b/grpclb/src/generated/main/grpc/io/grpc/grpclb/LoadBalancerGrpc.java @@ -47,7 +47,7 @@ public final class LoadBalancerGrpc { .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "grpc.lb.v1.LoadBalancer", "BalanceLoad")) - .setRegisterForTracing(true) + .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.grpc.grpclb.LoadBalanceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( |