Matrix style results should be displayed in charts that support vectors
Description
Matrix results can be displayed in vector charts
When a matrix result is obtained from prometheus, the parsing defines a "values" array with a time range of results.
Example:
Bar charts and single stats only support displaying an "instant" of data. When their corresponding query results in an instant vector, this data can be easily displayed.
However, if the result of a query is a matrix (a range of values) the chart will fail to display (or display wrong data). It should display the last result, so see the latest instant available in the time series.
See:
Edited by Sofia Vistas