Get Chef stats & events directly into Datadog
Ruby
Permalink
Failed to load latest commit information.
gemfiles Fix test setup (gem deps install) (#88) Aug 22, 2016
lib
spec
.env.example
.gitignore ignore Appraisal-generated lock files Aug 16, 2014
.rspec add rspec testing Jan 19, 2014
.rubocop.yml update RuboCop & config for correct namespaces Apr 5, 2015
.travis.yml [ci] Fix deps (#95) Jan 24, 2017
Appraisals Fix test setup (gem deps install) (#88) Aug 22, 2016
CHANGELOG.md πŸ’Ž chef-handler-datadog, v0.11.0 Feb 21, 2017
CONTRIBUTING.md
Gemfile Guard me from myself! Aug 16, 2014
Guardfile Guard me from myself! Aug 16, 2014
LICENSE.txt Updated to Version 0.1.0. Fixed names in LICENSE.txt Sep 14, 2012
README.md Add documentation for windows support May 1, 2015
Rakefile Add some rake helpers to help contribute easier Nov 17, 2015
chef-handler-datadog.gemspec [ci] Fix deps (#95) Jan 24, 2017

README.md

chef-handler-datadog

An Exception and Report Handler for Chef.

Gem Version Build Status Code Climate Dependency Status

Using chef-handler-datadog

This can be installed by using the dd-handler recipe from the datadog cookbook.

run_list 'foo::bar', 'datadog::dd-handler'

Windows support

The chef handler does work on Microsoft Windows however limitations with SSL + Ruby on Windows require extra setup. One solution is to set the SSL_CERT_FILE environmental variable to the one that chef uses on the machine to fix this issue. Here is how chef fixes the issue.

# Setup the certs for ruby in windows
env 'SSL_CERT_FILE' do
  action :create
  value "C:\\opscode\\chef\\embedded\\ssl\\certs\\cacert.pem"
end

The Datadog Docs on Chef has detailed instructions.

Contributing to chef-handler-datadog

See CONTRIBUTING.md

Copyright

Copyright (c) 2012-2014 Datadog, Inc. See LICENSE.txt for further details.