debugging opencensus rpcz?

39 views
Skip to first unread message

Derek Perez

unread,
Feb 24, 2019, 10:39:34 PM2/24/19
to grpc.io
 I have zpages enabled on my Netty-based grpc server and I'm not seeing any data when I visit /rpcz

I do see data when I visit /tracez so its definitely wired up and exporting data properly, Any ideas?

Carl Mastrangelo

unread,
Feb 25, 2019, 12:42:59 PM2/25/19
to grpc.io
Do you mean the Census Z page implementation?

Derek Perez

unread,
Feb 25, 2019, 12:48:21 PM2/25/19
to Carl Mastrangelo, grpc.io
Yeah, I have it wired up and I can see statsz and tracez flowing but rpcz is empty...What should I be seeing there?

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4ec47775-f993-4a92-b177-6b5984a66684%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Carl Mastrangelo

unread,
Feb 25, 2019, 1:01:34 PM2/25/19
to Derek Perez, Dino Oliva, grpc.io
+Dino, who may be able to answer this.

Dino Oliva

unread,
Feb 25, 2019, 2:53:34 PM2/25/19
to Carl Mastrangelo, Derek Perez, grpc.io, Yang Song, Rahul Patel
Hi Derek - you should be able to see stats related to rpcs as shown here: https://github.com/dinooliva/opencensus-java/tree/master/contrib/zpages

Which version of gRPC are you using? Also which OpenCensus implementation are you depending on?

Regards,

--Dino

Yang Song

unread,
Feb 25, 2019, 2:59:06 PM2/25/19
to Derek Perez, Carl Mastrangelo, grpc.io, Rahul Patel, Dino Oliva
Hi Derek,

Please for now try registering the old RPC views, using:
RpcViews.registerAllViews();
RpcViews.registerRealTimeMetricsViews(); // will produce data if you use streams.


Thanks,
Yang

Derek Perez

unread,
Feb 26, 2019, 12:58:27 AM2/26/19
to Yang Song, Carl Mastrangelo, grpc.io, Rahul Patel, Dino Oliva
Thanks, that worked! Following that bug to see how it resolves. 
Reply all
Reply to author
Forward
0 new messages