-
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
OpenTSDB support #768
Comments
Thanks for raising this. Thanos was designed to allow different metric backends, by introducing generic StoreAPI gRPC API that anyone can implement. Effectively Thanos should work fine with any implementation that hides behind StoreAPI, so the only question here is: should this code be hosted in Thanos project or externally. TL;DR: I feel that we should aim for hosting those as Details:
There are though some clear difficulties in terms of having external plugin in separate repo. Let's enumerate those and see how we can help to workaround them:
What do you think? @brancz @domgreen @improbable-ludwik @FUSAKLA @adrien-f any other concern? Overall I am happy you touched this issue as this might be not well known use case for Thanos, and we should document it more ( |
I have had the same "bring your own StoreAPI" solutions for these types of features in mind. |
Plus one to keeping those implementations separately. Off-course that could raise question if the TSDB backend shouldn't be also separately to leave Thanos just as a query layer (compactor, store and sidecar are actually Prometheus/TSDB specific). The other thing is downsampling maybe? Would this work for the openTSDB for example? (not familiar with the implementation if the the query logic is in the store or query part) But yeah I can imagine this would be great the possibility to have one source aggregating data from more timeseries databases 👍 |
@jojohappy brought very nice comparision with other places of various client implementations like With StoreAPI contract is clear and cross binary, so it fits into multiple repo ecosystem. @szalai1 is that ok with you? Separate open source repo for plugin with mention in our docs about details? (: Any concerns? |
@FUSAKLA I have not implemented the downsampling part yet, but I think it can be in the storage layer. @bwplotka I am totally fine with a separated project and makes more sense for me too. |
Correct unless there is something that blocks you or you find the Store API too broad/too limited/unclear. Let us know (: |
Thank you for your help. Closing the issue. |
@bwplotka As we agreed, this has been implemented in a separate repo here: https://github.com/G-Research/geras |
Awesome! As noted in slack discussion: @szalai1 I would be happy to add |
@bwplotka great! |
Nice, I would really write some blog post if I were you guys - sounds interesting (: |
Feel free to propose some integration.md page - if not we will create something at some point |
@bwplotka sure, I'm going to add one. Is that ok if I add the |
Yes.
…On Mon, Jun 24, 2019, 22:20 Peter Szalai ***@***.***> wrote:
@bwplotka <https://github.com/bwplotka> sure, I'm going to add one. Is
that ok if I add the integration.md to the docs directory and a link to
it from the main README.md?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#768>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABVA3O32V2TLIGJHVQBXVRTP4E3CPANCNFSM4GSYVOKQ>
.
|
Goal: Query openTSDB using the query component.
I have POC implementation and managed to query openTSDB. What is the preferred way to add this new functionality to Thanos?
Options:
sidecar
sidecar
command (default prometheus)Long term implication: how does thanos want to treat other
tsdb
s than prometheus?(In our case we want to read from openTSDB, but not write.)
The text was updated successfully, but these errors were encountered: