Skip to content
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

Can you provide more detailed documentation? #10

Open
StephenPCG opened this issue May 30, 2017 · 1 comment
Open

Can you provide more detailed documentation? #10

StephenPCG opened this issue May 30, 2017 · 1 comment

Comments

@StephenPCG
Copy link

Can you provide more detailed documentation on what carbonmem do and how to use it?

What I have found is just "memory-backend carbon store", but I didn't find how to set storage schema. What's the difference with using tmpfs as go-carbon storage backend? Can you provide in what scenarios carbonmem is supposed to be used?

I have a scenario in which I would like to use memory as storage backend, but I'm not sure carbonmem is designed for that. I'm setting up a monitoring system which uses graphite stack as datasource. Since most queries are dedicated to the latest 10 minutes' data, I would love to force cache the latest 10 minutes' data of all metrics. I have the following setups in mind, but not sure which is best, or is there any even better solution?

  • Let carbon relay to forward two copies, one to a storage for persistence, another to go-carbon+tmpfs, with default retention policy set to 10min. All monitoring queries are directed to the latter go-carbon.
  • Similarly, but replace go-carbon+tmpfs with carbonmem, but I don't know if carbonmem is designed for this case. Which is what I created this issue for.
  • Is it possible to embed such kind of cache within go-carbon so that I don't need to let carbon relay to forward two copies. (Maybe I should create an issue for this in go-carbon project.)
@RudW0lf
Copy link

RudW0lf commented Jan 24, 2018

I will try to answer for your questions.

  • Carbonmem is specific tool for getting TopK values of any sets of metrics.
  • It is not replacement of whispher in the memory.
  • This tool provide only tops for in a limited period of time and doesn`t designed for storage metrics for long time.

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

No branches or pull requests

2 participants