Ability to convert a count to a rate - getting a simple RPS #58189
Labels
enhancement
New value added to drive a business result
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
Kibana's basic visualizations, or Lens, should have a way to convert your data
count
to a rate per unit of time, e.g. (request per second). This is the usual way of thinking of metrics ("each of my instances can do 500 RPS") and it should be made easily available.Describe a specific use case for the feature:
As mentioned to @AlonaNadler, many metrics we look at and compare with other systems is typically expressed as a rate, e.g. "requests per second" or "clients per hour". Usually data in ES is of discrete form, you get 1 document per event (e.g. logs). How do you plot your "logs per second"?
There are some answers out there in Discuss but most of them are wrong:
Derivative
agg: this only works if your data is a counter that tallies up a value over time, which is not often the case.moving avg
orbucket
agg: the parameter is a fixed number of entries or time unit to average over. It just does smoothing, so you need to have a rate in the first place, it does not convert your count to a rate.scale_interval
in Timelion.Thanks!
The text was updated successfully, but these errors were encountered: