Today we have metrics endpoint used in UI without any resolution (plugin metrics in pipeline). This results in a lot of data points, for say realtime pipelines, that the UI cannot visualize in a meaningful way.
If the metrics endpoint could accept additional inputs, say number of datapoints or aggregates based on number of data points automatically then UI gets back fixed number of data points(say 20 max?) for visualization. This provides a better trend of incoming and outgoing data for plugins in a pipeline.