Equivalent of /rpcz at Google

Hey folks,

Has anyone built the Go equivalent of /rpcz that Google’s servers have? The idea is to be able to locate the rpcs which are either currently running, or get a sample of rpcs which took over X%-ile latency.

Just to avoid confusion, there’s an equivalent of Dapper for Go, but that’s not what I’m talking about. The /rpcz handler runs only for that one server, and only shows rpcs for that one server; and not across servers.

If there’s none, my team is interested in building one. So, would love to bounce ideas, and best practices regarding how to build this.



Yes, it’s built into gRPC.

1 Like

Thanks @dfc! This is exactly what I needed. In particular, the net/trace package.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.