Get Chef stats & events directly into Datadog
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
gemfiles
lib
spec
.env.example
.gitignore
.rspec add rspec testing Jan 19, 2014
.rubocop.yml
.travis.yml
Appraisals
CHANGELOG.md
CONTRIBUTING.md
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
chef-handler-datadog.gemspec

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.