Open iggyzap opened 2 years ago
Please answer these questions before submitting a bug report.
<properties> <io.grpc.version>1.35.0</io.grpc.version> <java.version>11</java.version> <opencensus.version>0.28.3</opencensus.version> </properties>
java -version
openjdk version "11.0.9" 2020-10-20 OpenJDK Runtime Environment (build 11.0.9+11-alpine-r0) OpenJDK 64-Bit Server VM (build 11.0.9+11-alpine-r0, mixed mode)
If possible, provide a recipe for reproducing the error.
Some stats related to invoked grpc methods
Just helptext for possible stats
To enable stats following dependency needs to be included:
<dependency> <groupId>io.grpc</groupId> <artifactId>grpc-census</artifactId> <version>${io.grpc.version}</version> </dependency>
Also following code snipped needs to be added for gRpc stats to be gathered, when configuring managed channel
ManagedChannelBuilder<?> builder = ManagedChannelBuilder .forAddress(serverUrl, port) .keepAliveTime(keepAliveMinutes, TimeUnit.MINUTES) .intercept(InternalCensusStatsAccessor.getClientInterceptor(true, true, true)); return builder.build().
Even with changes from above, zPages still do not contain information about grpc invocations.
Please answer these questions before submitting a bug report.
What version of OpenCensus are you using?
What JVM are you using (
java -version
)?What did you do?
If possible, provide a recipe for reproducing the error.
What did you expect to see?
Some stats related to invoked grpc methods
What did you see instead?
Just helptext for possible stats
Additional context
To enable stats following dependency needs to be included:
Also following code snipped needs to be added for gRpc stats to be gathered, when configuring managed channel
Even with changes from above, zPages still do not contain information about grpc invocations.