Make use of fetch_multi also for targets.

Should partily fix #53, though not yet optimal (cause parser still stays same)

It should be better, then previous one.
Problem with that is that wildcard and '{<...>}' can be anywhere, "*.cpu"
is also valid pathExpression and "host.*.metric*" - also valid.

2014-09-24 22:06 GMT+02:00 llange <notifications@github.com>:

> In graphite_api/app.py:
>
> >
> >      elif tokens.pathExpression:
> > -        return fetchData(requestContext, tokens.pathExpression)
> > +        for ts in timeSeriesList:
> > +            if ts.name == tokens.pathExpression:
>
> Or may be we could have a hash of TimeSeries, with the key being the name
> with wildcard ; and the value the array of TimeSeries corresponding.
> Then we could do the name comparison with the hash keys.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/brutasse/graphite-api/pull/55/files#r17996640>.
>



-- 
С уважением, Смирнов Владимир.
With best regards, Vladimir Smirnov.