Currently, we will retrieve all the contents of the field if that field is specified in the query API. In case of configs and metrics, this can become a lot of data even though the user doesn't need it. So we need to provide a way to query only a set of configs or metrics.
As a comma spearated list of configs/metrics to be returned will be quite cumbersome to specify, we have to support either of the following options :
- Prefix match
- Group the configs/metrics and query that group.
We also need a facility to specify a metric time window to return metrics in a that window. This may be useful in plotting graphs