-
Notifications
You must be signed in to change notification settings - Fork 179
Label Values composite index #26
Comments
Yes, this is a to-do that should be possible to add seemlessly at a later
point. The label value index interface shows support for it already.
It is useful for advanced autocompletion in Prometheus. For example, if we
want to suggest values for a certain label, it makes sense to only suggest
those that exist for the given metric name (__name__ label). The composite
index provides the required lookup.
…On Wed, Mar 29, 2017, 9:52 PM Goutham Veeramachaneni < ***@***.***> wrote:
I see from this
<https://docs.google.com/document/d/13uK6HoEXzX67DuWsJ2PKo8zjpqlgpQ0SIHz2nvMa7f0/edit#heading=h.zzd5egnpdp5>
doc that we are going to have composite indexes. But it is still
un-implemented.
@fabxc <https://github.com/fabxc> I am assuming this is a TODO item and
you have not dropped the idea of a composite index.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEuA8iGyoy3yj2qwMCQVLMlMTxytn2b9ks5rqraOgaJpZM4MteST>
.
|
@fabxc , @gouthamve |
@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. |
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
Seems we close this for now and revisit if needed? |
Yes. Also @codesome has a branch somewhere that does this, I think (: |
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.
The text was updated successfully, but these errors were encountered: