chef-handler-graphite
chef-handler-graphite copied to clipboard
Allow to send any metrics
It would be nice to allow to send any metric present in some path of run_context. Thus other cookbooks could add new metrics sent to graphite by this handler without rewriting it.
Additional metrics I can think of:
-
of ignored failures on resources
- restart of an essential service (memcached, some database…)
- time required to update a specific resource (execute[disk format] for instance)
The path could run_status['chef-handler-graphite']
which would contain a dictionary metric_name: value
Would you accept a PR for such a feature?
@kamaradclimber Wow, yeah.. that would be quite amazing actually. Open a PR when you have something and we'll get it in there. :smile: