Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Can we have a flat file or in-mem storage backend? #23

Open
peterbourgon opened this issue Sep 17, 2016 · 1 comment
Open

Can we have a flat file or in-mem storage backend? #23

peterbourgon opened this issue Sep 17, 2016 · 1 comment

Comments

@peterbourgon
Copy link

I want to use Tracer to demo some Go kit stuff, where setting up a DB is rather too onerous. A simple flat-file or in-memory storage backend would be more than sufficient.

@dominikh
Copy link
Member

dominikh commented Sep 17, 2016

If you'd like to contribute an in-memory storage, I would merge it. You can copy the Null storage and fill in the blanks. An implementation of server.Storage automatically implements tracer.Storer, so you won't need to write a transport and can run the server and the instrumented code in the same process, if you wish to.

I, too, am interested in an in-memory storage, but if I have to write it myself it might take a couple days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants