Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

non-npm backends #33

Open
TanmayaAPYL opened this issue Oct 13, 2014 · 5 comments
Open

non-npm backends #33

TanmayaAPYL opened this issue Oct 13, 2014 · 5 comments

Comments

@TanmayaAPYL
Copy link

Possible for you to allow install of non-npm backends like this one?
https://github.com/lucidsoftware/statsd-smart-repeater

@mheffner
Copy link
Contributor

@TanmayaA I feel like that may make the base statsd-cookbook bloated if we tried to support a lot of external backends this way. IMO, there should be a smart-repeater-cookbook that depends on the statsd-cookbook, but isolates any specific requirements for smart-repeater. Maybe the statsd-cookbook could have a resources function that made adding a backend to the base statsd configuration easier?

@TanmayaAPYL
Copy link
Author

@mheffner Sorry, I missed notification of your reply. I'm ok to do a smart-repeater-cookbook, however, as you said we do need some function to make this happen, without having to override the statsd configuration itself. Possible for you add this feature sometime soon?

Thank you for your time and efforts!

@mheffner
Copy link
Contributor

@TanmayaA Unsure when I'll have time to take a stab at this. If you've got some time to put a PR together I can certainly take a look.

I think if the resource merged attributes in the extra_config parameter it could work: https://github.com/librato/statsd-cookbook/blob/master/attributes/default.rb#L76

@TanmayaAPYL
Copy link
Author

Thanks for the quick response. I have to work on it soon in any case. Will try to make a PR then.

@varunpalekar
Copy link

How can I add non npm backends since there is no attribute to include extra backends in main config.js file of statsd.

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

No branches or pull requests

3 participants