Skip to content

Chef handler to report chef run statistics to Honeycomb

License

Notifications You must be signed in to change notification settings

honeycombio/chef-handler-honeycomb

chef-handler-honeycomb

OSS Lifecycle

Chef handler to report chef run statistics to Honeycomb

Steps to use this cookbook to report statistics to Honeycomb

  • put your writekey in the attributes file, update dataset name if you wish
  • add the cookbook early in the list (first is great)
  • add the commented section from the recipes/default.rb to client.rb or other location ** See Chef's config.rb documentation

run chef and see reports in Honeycomb!

If things don't work as you expect, you can add -l debug to the chef run. You will see debug output which will include the HTTP POST to Honeycomb and its results. Look for DEBUG: Initiating POST in the log. If you don't see anything in Honeycomb, try using this flag and look to see whether Honeycomb is responding with HTTP 200.