aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/trace/GoogleStackdriverTrace.scala
diff options
context:
space:
mode:
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"))