prometheus-junkyard/tsdb

Label Values composite index

gouthamve opened this issue · 7 comments

I see from this doc that we are going to have composite indexes. But it is still un-implemented.

@fabxc I am assuming this is a TODO item and you have not dropped the idea of a composite index.

fabxc commented

@fabxc , @gouthamve
having red the issue description briefly this is still in need to be implemented right?
just so I know how to label the issue.

@krasi-georgiev I was about to implement this in my GSoC. But as there were not many use cases with this, it was decided that we don't implement it for now.

yeah that is what I wanted to know.
Autocompletion sounds very useful so really surprising why it didn't get more interest.

Well, there was no use-case for this. Current APIs also allow for autocompletion but this was supposed to make it more efficient.

This means hardcoding what to autocomplete against and the current implementations were fast enough to not require this optimisation.

so in summary

  1. what we have works well enough
  2. there isn't any immediate demand for this

Seems we close this for now and revisit if needed?

Yes. Also @codesome has a branch somewhere that does this, I think (: