aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala
diff options
context:
space:
mode:
authorZach Smith <zach@driver.xyz>2017-10-03 11:42:53 -0700
committerZach Smith <zach@driver.xyz>2017-10-03 11:42:53 -0700
commitd888d2fa64f9de5d0e5417f65e31c5e35817ec54 (patch)
tree4d27b2bed94d7e39db7419b4f1b5016178643d58 /src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala
parentc9ccc77bcfe434716562ce19838e991025dbe7cc (diff)
downloaddriver-core-d888d2fa64f9de5d0e5417f65e31c5e35817ec54.tar.gz
driver-core-d888d2fa64f9de5d0e5417f65e31c5e35817ec54.tar.bz2
driver-core-d888d2fa64f9de5d0e5417f65e31c5e35817ec54.zip
Upgrade google pubsub and storage libraries
Diffstat (limited to 'src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala')
-rw-r--r--src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala b/src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala
index 04f2ec6..ce84f9d 100644
--- a/src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala
+++ b/src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala
@@ -30,8 +30,7 @@ final class GoogleStackdriverTrace(projectId: String,
new LoggingTraceConsumer(log)
} { clientSecretsInputStream =>
GrpcTraceConsumer
- .create(
- "cloudtrace.googleapis.com",
+ .createWithCredentials(
GoogleCredentials
.fromStream(clientSecretsInputStream)
.createScoped(util.Arrays.asList("https://www.googleapis.com/auth/trace.append"))