【clickhouse】如何监控Clickhouse的连接数

在这里插入图片描述

1.概述

因为clickhouse经常拒绝连接,因此需要监控连接数

sql

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

用SQL是一种方法
还有就是用clickhouse exporter 或者 native的promet

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/121214284