We are trying to monitor service metrics via Grafana on real time. To do this, we publish service metrics to rabbitmq queue, and we collect this metrics on clickhouse and visualize on Grafana. We have nearly 800-1200 service call per second.
Is there a fine-tuning options for route via AMQP assertion. Alternatively, can you suggest a proper and effective way to publish service metrics to external sources?
Release : 10.1, 11.x
Performing additional routing upon every request is certainly going to add load. I would look at using the accumulate assertion:
Of course, this means that the graphs will not be truly real-time, the buffer holds the data, but if you extract frequently enough, it can be near real-time. For example, set the max buffer size to the size of 9 entries, when it appends the 10th, then it extracts the data, and you can route all 10 of them at once. In addition, if the buffer has 9 of them, then no one hits the policies for several minutes, it may not actually send the data until they do.