aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorZHANG Dapeng <zdapeng@google.com>2018-06-01 07:33:37 -0700
committerGitHub <noreply@github.com>2018-06-01 07:33:37 -0700
commita0794d5a680da7632f2adf8d8d395aca37df7ad5 (patch)
tree7f3ffa3696fed3d44fc14140ab946968d4ef021b /services
parent25a2ec1ef3d063edb4d6d62260937c20f2c5a626 (diff)
downloadgrpc-grpc-java-a0794d5a680da7632f2adf8d8d395aca37df7ad5.tar.gz
core: Implement channel tracing for some events
Includes - API plumbing for channel tracing `+ManagedChannelBuilder.maxTraceEvents()` - trace logging for channel/subchannel creation events and name resolving events. Trace logging for all other events will be added in subsequent PRs.
Diffstat (limited to 'services')
-rw-r--r--services/src/test/java/io/grpc/services/ChannelzProtoUtilTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/src/test/java/io/grpc/services/ChannelzProtoUtilTest.java b/services/src/test/java/io/grpc/services/ChannelzProtoUtilTest.java
index c6214cabf..69dca80c5 100644
--- a/services/src/test/java/io/grpc/services/ChannelzProtoUtilTest.java
+++ b/services/src/test/java/io/grpc/services/ChannelzProtoUtilTest.java
@@ -861,12 +861,12 @@ public final class ChannelzProtoUtilTest {
Event event1 = new Event.Builder()
.setDescription("event1")
.setSeverity(Severity.CT_ERROR)
- .setTimestampNaonos(12)
+ .setTimestampNanos(12)
.setSubchannelRef(subchannel)
.build();
Event event2 = new Event.Builder()
.setDescription("event2")
- .setTimestampNaonos(34)
+ .setTimestampNanos(34)
.setSeverity(Severity.CT_INFO)
.setChannelRef(channel)
.build();