grafana-dashboards-elasticsearch icon indicating copy to clipboard operation
grafana-dashboards-elasticsearch copied to clipboard

What does ProcRate mean?

Open elghazal-a opened this issue 2 years ago • 2 comments

Hello, What does the ProcRate chart track exactly?

elghazal-a avatar Dec 07 '22 10:12 elghazal-a

+1

OpakAlex avatar Jul 27 '23 20:07 OpakAlex

It is clear that sum (rate(elasticsearch_indices_indexing_index_total{instance=~"$instance",cluster="$cluster"}[$interval])) shows the number of requests that the cluster has process during that time interval

Now looking at ProcRate which is sum (rate(elasticsearch_indices_indexing_index_total{instance=~"$instance",cluster="$cluster"}[$interval])) / sum (rate(elasticsearch_indices_indexing_index_time_seconds_total{instance=~"$instance",cluster="$cluster"}[$interval])) ), suppose that in a 5 seconds interval there were 20 requests and the sum of processed time of all requests in all threads were 10 seconds, then for each second the cluster has processed 4 requests with 2 seconds processing time in average.

Then we can estimate that the cluster is able to process 2 requests per second. Note that it is only an estimation and ProcRate can vary on the workload

Jjungs7 avatar Dec 29 '23 01:12 Jjungs7