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.
diff --git a/build.gradle b/build.gradle
index 73a3364..ef6d172 100644
--- a/build.gradle
+++ b/build.gradle
@@ -191,8 +191,8 @@
google_auth_credentials: 'com.google.auth:google-auth-library-credentials:0.4.0',
okhttp: 'com.squareup.okhttp:okhttp:2.5.0',
okio: 'com.squareup.okio:okio:1.6.0',
- opencensus_api: 'io.opencensus:opencensus-api:0.7.0',
- opencensus_impl: 'io.opencensus:opencensus-impl:0.7.0',
+ opencensus_api: 'io.opencensus:opencensus-api:0.8.0',
+ opencensus_impl: 'io.opencensus:opencensus-impl:0.8.0',
instrumentation_api: 'com.google.instrumentation:instrumentation-api:0.4.3',
protobuf: "com.google.protobuf:protobuf-java:${protobufVersion}",
protobuf_lite: "com.google.protobuf:protobuf-lite:3.0.1",