I have QueryRange function:
func QueryRange(start time.Time, end time.Time, metric string, config *Models.Configuration) model.Value { client, err := api.NewC