jhaals / chantop

Get Channel statistics from a running gRPC service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chantop

chantop queries the gRPC channelz service for statistics about open channels.

$ chantop -address localhost:8080
+---------------------------------------------------------------------------+-------+---------+-----------+--------+--------------------------+
|                                  TARGET                                   | STATE | STARTED | SUCCEEDED | FAILED |        LAST CALL         |
+---------------------------------------------------------------------------+-------+---------+-----------+--------+--------------------------+
| dns://service-name                                                        | READY |     247 |       247 |      0 | 2019-08-21T13:39:35.696Z |
| [[[some-service131.service.exampledomain.com./10.182.40.35:8080]/{}]]     | READY |      16 |        16 |      0 | 2019-08-21T13:39:34.655Z |
| [[[some-service13200.service.exampledomain.com./10.182.152.123:8080]/{}]] | READY |     106 |       106 |      0 | 2019-08-21T13:39:35.696Z |
| [[[some-service113.service.exampledomain.com./10.182.37.22:8080]/{}]]     | READY |      15 |        15 |      0 | 2019-08-21T13:39:33.613Z |
+---------------------------------------------------------------------------+-------+---------+-----------+--------+--------------------------+

About

Get Channel statistics from a running gRPC service


Languages

Language:Go 100.0%