Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Suggest tagk based on metric chosen #276

Open
1tylermitchell opened this Issue · 4 comments

5 participants

@1tylermitchell

Is it possible to use a /suggest request with both a type=tagk and metric= in a request. The goal is to get a list of tags used with a specific metric.
It seems we have to actually run a query to get the valid etags list back, right?

Will some of this ability be in the metadata improvements coming down the pipe?

@jtamplin
@1tylermitchell

Thanks John, that makes sense. Seems like something I'd love to push into a metadata table so I don't have to leave OpenTSDB :)

Since you can get the etags list back from a data query, it still looks/feels like there is an underlying way to get at such data...

@nickman
@IzakMarais

Improving the suggest API has been listed as a requirement for Grafana to offer better OpenTSDB query completion support. See this grafana PR where the opentsdb/api/search/lookup was used to improve tagk and tagv suggestions. The PR was rejected since the work would be better done in OpenTSDB as part of the suggest API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.