Added support for caching the appropriate tags for the metric rather than type-ahead'ing through all tags in the TSDB