[Lens] Options to scale metrics into a "rate per second" or "rate per minute" #77811
Labels
enhancement
New value added to drive a business result
Feature:Lens
Project:LensDefault
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
This issue is re-creating another issue which has turned into a discussion thread. This issue is focused on the implementation decisions for the average event rate aggregation.
Detailed description
Date histograms in Kibana have a minimum interval which is often higher than what users want to see. For example, when looking at 24 hours of data, Kibana prevents users from looking at a per-second value. To work around this, we should offer a "time scale" feature to give an approximate "rate per second". Some examples are:
The default scale would be "per second", and other intervals would be:
I expect that we will combine these features into a single text input allowing the user to choose to scale their values to specific time intervals.
Inputs and outputs
This table is showing how I would expect the number
6000
to get converted in a few different examples:In the last example, the user is actually scaling up the values instead of scaling down. We can't prevent this, so it's worth pointing out here that this is going to be possible.
Form design
This is shown as an advanced option in the form in this mock:
The form in the mock is allowing users to type any time interval they choose, which is definitely possible, but it might be preferable to have users select from a pre-defined list so that we can assign the right suffix.
Implementation details
We will offer this form option when:
There are two sub-features that are required to implement this:
We will automatically configure the "per second" suffix when the data is scaled to 1 second. We will automatically configure the "per hour" suffix when the data is scaled to hourly.
The text was updated successfully, but these errors were encountered: