chef-handler-graphite icon indicating copy to clipboard operation
chef-handler-graphite copied to clipboard

Allow to send any metrics

Open kamaradclimber opened this issue 10 years ago • 1 comments

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 avatar Nov 13 '14 08:11 kamaradclimber

@kamaradclimber Wow, yeah.. that would be quite amazing actually. Open a PR when you have something and we'll get it in there. :smile:

imeyer avatar Nov 25 '14 19:11 imeyer