大网数据广告活动
服务器运维问答

Ngrok connections line meaning

· 52CE 我爱测

I have just set up ngrok, and read through the parts of the documentation pertaining to ssh, which is what I am using it for. On the "host" or "server" device (not sure of the correct name), it shows a text UI, with a line for "C…

问题原文

原帖链接 · knotimpressed · CC BY-SA 4.0

I have just set up ngrok, and read through the parts of the documentation pertaining to ssh, which is what I am using it for.

On the "host" or "server" device (not sure of the correct name), it shows a text UI, with a line for "Connections", with multiple columns. The columns are labelled "ttl" "opn" "rt1" "rt5" "p50" and "p90". There are numbers under each, which change occasionally.

I wish to know what each of the columns mean, as I have made many searches for "ngrok" and the labels, but nothing conclusive has come up in terms of their meanings.

Can anyone tell me what each of the labels mean?

(copied from stack overflow at a commenters request, please tell me if I'm in the wrong spot)

Update: When pulling the info from the API, some of the labels have longer names: "metrics":{"conns":{"count":79,"gauge":0,"rate1":2.457246109955258e-7,"rate5":0.00038372479383272124,"rate15":0.0008963016058921416,"p50":213239525,"p90":312309088089,"p95":596862711946,"p99":925411600728

With the longer names, some become more clear, like count and rate. But I'm still confused on what the numbers mean. Perhaps percentiles?

If anyone has any info that would be greatly appreciated.

已采纳解答

原帖链接 · DawnPaladin · CC BY-SA 4.0

I wrote ngrok's customer service email about this, and here's what I got back:

I don't have answers for all of these stats but I believe "ttl" is total connections through the tunnel, "opn" would be currently open connections, and "p50"/"p90" are likely the 50th and 90th percentile round-trip request times in seconds. I'm not sure what the "rt1"/"rt5" numbers are but I think they are the connection rate over the last 1 minute and last 5 minutes respectively.

The web status UI is a little bit clearer: http://localhost:4040/status

I looked at the web status UI and it does have clearer labels on it; that will probably be easier to figure out.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-04-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。