Comments (11)
Can you elaborate how you would like to see this work?
from graphite.
You should be able to define multiple caches & relays in carbon.conf as follows:
[cache:a]
<<options>>
[cache:b]
<<options>>
[relay:a]
<<options>>
[relay:b]
<<options>>
Etc.
I'm actually looking to add this in myself right now to move my current bottleneck from CPU (single-threaded relay) to disk IO (multiple caches distributed over CPUs). The configuration certainly allows it, but it should be configurable via Chef. I'm currently thinking of defining the individual cache and/or relay configurations in nested attribute hashes. Alternatively perhaps a LWRP could be created to piece together the configuration? Not sure what the best mechanism for accomplishing this is yet.
Also, your cookbook has no notion of clustered or distributed Graphite. We have modified your cookbook to use a search to define the DESTINATIONS parameter for the relay, but its somewhat environment specific in how we have it working currently. For running multiple caches we'll need multiple levels of relays as well as the ability to auto-generate destinations to both other relays and the local caches under them.
I can produce a diagram if necessary.
from graphite.
Same over here. Federated recipe is saying that it was inspired by R. Crowley's blog post, which has typos in it and it's confusing. What you should essentially be aiming for is this diagram:
http://www.slideshare.net/AnatolijDobrosynets/graphite-cluster-setup-blueprint
Simples. I am already re-working this cookbook for our own use. Nevertheless this cookbook is so far the best one I've managed to find on Graphite.
from graphite.
Yes, that's it exactly. I have it done the way I want in-house, but I need to merge what we have with this community version so I can push my changes up-stream. I just haven't had a chance to get to that yet.
from graphite.
@benjamink do you have it public somewhere ? It would save me tons of time
from graphite.
I can try and get it online today. I'll have to give it a once-over to make sure it's clean. I'm fairly certain it's not the best it could be, but it's certainly functional.
from graphite.
@milosgajdos83 most of this is from an earlier version of this cookbook, but it's been modified to suit our needs. I'd really like to get it merged into the current state of the community cookbook at some point soon. https://github.com/benjamink/graphite-with-instances
from graphite.
Thanks a lot ! I'll check it out !
from graphite.
I'd love to see this merged in. I'm not happy with the current federated recipe as I think it's overly complex, but it's better than no support.
Looking forward to any PRs
from graphite.
This is supported with the current version of the cookbook, closing issue. Please open a PR if you can with changes. thanks!
from graphite.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from graphite.
Related Issues (20)
- uninitialized constant Chef::Provider::GraphiteServiceRunit HOT 3
- [CFC] Call for Configs HOT 2
- Version 1.0.5 HOT 3
- Graphite 1.0.1 Support? HOT 4
- Any timeframe by which graphite cookbook would be release with poise-python as it dependencies rather than python HOT 3
- Graphite Cookbook failing for recipe:whisper HOT 1
- Graphite cookbook failing due to runit::default HOT 5
- Graphite web support HOT 2
- Contributors wanted! HOT 4
- No candidate version available for logstash HOT 2
- Django/Twisted version override ignored HOT 1
- ERROR: undefined method `python' for #<Chef::Node::Attribute:0x0000000001dc24a8 HOT 2
- Release new version of 'graphite' cookbook to Chef Market HOT 1
- Dangerfile should use failure instead of fail
- Remove .rubocop.yml with Dangerfile HOT 1
- Update Changelog
- Run latest cookstyle
- Update builds to be parallel HOT 1
- remove unmaintained poise_python dependency HOT 1
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphite.