如何监控Clickhouse的连接数
发布于 17 天前 作者 TaoZhou 144 次浏览 来自 问答

请教一下 如何监控Clickhouse的连接数

1 回复

bogon.localdomain :) select * from system.metrics where metric like '%Connection%' SELECT * FROM system.metrics WHERE metric LIKE ‘%Connection%’

─metric─────────────────value──description─────────────────────────────────────────────────────────

  • TCPConnection * 1 * Number of connections to TCP server (clients with native interface) *
  • HTTPConnection * 0 * Number of connections to HTTP server *
  • InterserverConnection * 0 * Number of connections from other replicas to fetch parts * ───────────────────────────────────────────────────────────────────────────────────────────────────

3 rows in set. Elapsed: 0.008 sec.

回到顶部