-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduced performance of sending logs #92
Comments
The qryn process is single threaded so you either need to scale multiple writers/readers and distribute traffic to achieve your desired capacity or use the qryn otel-collector and write directly into ClickHouse at max speed. Remember most of the performance is on the clickhouse side. |
Rather, the description of the panels was confusing. I use qryn otel-collector, it was on it that I encountered the problem. single receiver configuration :
|
If you are using the otel-collector to ingest, then I would assume the bottleneck being either with the collector or clickhouse rather than qryn itself. Did you observe any resource bottlenecking while operating the setup? |
I ran into the problem not in qryn. It's with qryn-otel-collector. Perhaps I misunderstood your comment. I'm not sure if it's a resource problem, because it works correctly when I bring up another receiver |
We definitely need to investigate this further to understand what the root cause is. Could you show the multi-receiver config too? |
At a certain point, when we reached a heavy load we encountered the problem of low speed of sending logs via promtail
The difference is the speed of reading promtail logs from a file with the same configuration. In the screenshot promtail sent all messages to loki
Configuring the client part of promtail:
The solution was simple, we raised the second loki log receiver. After that we can observe a decrease in the graph above. The result is the same
The average resource utilization of an instance was no higher than 30 percent
The text was updated successfully, but these errors were encountered: