Consider I'm sending events to Elasticsearch for each request to my application. Now, I want to display an RPS gauge to show how many requests my application is getting per second. However, showing immediate number of requests for the last second will not be very informative and will cause the gauge to wildly fluctuate. Instead, I want to show the average RPS for some reasonable time ranges, e.g. last 1, 5 and 15 minutes (like load average is shown in Linux
25 000 requests were made in the last
25 000 req / (15 min × 60 sec/min) = 27.78 RPS
How do I configure Elastic Gauge Visualization to display such average count? I can't really find any suitable controls for this in the UI.