-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exemplar API: For now in sidecar and querier #3435
Comments
I can work on this if that's okay with some guidance. |
@goku321 go for it. We are happy to guide you 🤗 Feel free to propose this on our new Contributor Office Hours if you want to meet & collab ❤️ (will be announced wider today): https://docs.google.com/document/d/137XnxfOT2p1NcNUq6NWZjwmtlSdA6Wyti86Pd6cyQhs/edit#heading=h.cifspg8gw2m5 |
Added some detailed steps here: #3345 (comment) Those also applies to Exemplars (: @goku321 |
Just a heads up. work is in progress, will create a PR soon. |
Amazing @goku321 ❤️ Can't wait! |
The current design is that exemplars are only in memory, so only Sidecar supports it now. I feel it is possible that exemplars can be supported via remote write so the TSDB store might need to support this, too. If we need to persist it in the future, then store gateway might need to have this as well. If we choose the proxy way like rules API, what's the benefit of this over adding it to the general store gRPC API? |
What exactly do you mean? Adding another method? Adding another field to Series response (which might make less sense as there is literally Examplars API (another endpoint).)? If it's another method that it's not a big difference for gRPC if it's part of same API or different.
While definitely, we want to push it via remote write some day (or something along those lines), the current plan is to don't extend TSDB format with this. In that case it will be stored in different way so might be the case that some Thanos component will expose Exemplars API but not store API. I believe we could start as a separate API/method as this allows us flexibility. Nothing bad in store gateway exposing both Examplars API and Series API, no? (: |
Yes, that makes sense. |
@bwplotka I would like to work on this, also previously I have worked with gRPC. Could help me with where I should begin with I was going through the contributor office hours but I think it's not updated since few days. |
Hi @Debanitrkl I know I'm taking a bit of time on this but I am very close to finish this one 😅 |
Hi @bwplotka, since @goku321 is already working on this, is the related LFX mentorship task (Thanos: gRPC Exemplars API) still valid? |
As mentioned in today's public meeting, it would be good if we can support exemplars in Thanos.
Blocked by the upstream WIP pr.
As there is no design to persist exemplars right now, we can start from supporting Thanos sidecar to query the
/api/v1/query_exemplars
API from Prometheus.Describe the solution you'd like
ExemplarQuerier
interface and/api/v1/query_exemplars
API to thanos querier.proxy
store, which performs fanout exemplar queries.The text was updated successfully, but these errors were encountered: