I have a log management system in which the Clickhouse database has been used alongside metrico/qryn, rsyslog
on all the servers (Debian 11) send gathered logs from the system and applications to promtail
for labeling and then promtail
sends them to qryn
, qryn
then inserts the logs in the Clickhouse DB and has an API compatible with LogQL.
I'm trying to find a relationship between the Clickhouse system utilization and data sent to and received from the Clickhouse hence, I need to calculate the log per second
in order to estimate the system utilization per each log per second
so if I had a bigger environment I'd already know how much limit I should set for Clickhouse RAM & CPU usage.
My question is how to calculate this log per second
I only have one instance of Clickhouse but I have no idea how to calculate it.
The method doesn't really matter I just need to know the log per second
it could be on the system level, DB level, using a third-party application, etc.
Any help is appreciated, thanks in advance.