On ManageIQ scenario (through Hawkular Ruby Client) there is an important use case to fetch the min and max timestamp for a given metric (or for all metrics).
Today, this is something we need to do in several calls:
- Fetch list of available metrics.
- Fetch points for a metrics with limit 1 and order ASC (for min).
- Fetch points for a metrics with limit 1 and order DESC (for max).
It would be useful if metrics API can be extended with a way to fetch this info in one call.
Also, it would be great if this can be done for all metrics, like in the result of the list of available metrics, the min and max of timestamps would be provided.