cookbook 'chef-sentry-handler', '= 1.0.0'
chef-sentry-handler (2) Versions 1.0.0 Follow2
Installs and configures a Chef handler for sending errors to Sentry.
cookbook 'chef-sentry-handler', '= 1.0.0', :supermarket
knife supermarket install chef-sentry-handler
knife supermarket download chef-sentry-handler
Description
Configures and activates an error handler to send run failures to a [Sentry](htt://getsentry.com/) server.
Requirements
Platform
Tested on Ubuntu 12.04 and higher.
Cookbooks:
Depends on the chef_handler
cookbook to activate the error handler.
Attributes
-
node['sentry']['dsn']
– Required The DSN for your Sentry server. -
node['sentry']['enabled']
- Boolean to enable/disable the error reporter. Defaults totrue
.
Usage
Simply add the sentry-handler
recipe to your base role, preferably at the front
of the run list to ensure any subsequent errors are reported, and then set the
DSN in the node attributes.
License and Author
Author:: Noah Kantrowitz (noah@coderanger.net)
Copyright:: 2012, Noah Kantrowitz
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
chef_handler >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: /tmp/377d58fa8c0a812a9577d0c1/chef-sentry-handler/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/377d58fa8c0a812a9577d0c1/chef-sentry-handler/metadata.rb:1
Run with Foodcritic Version 8.0.0 with tags ~FC031 ~FC045 and failure tags any
1.0.0 failed this metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: /tmp/377d58fa8c0a812a9577d0c1/chef-sentry-handler/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/377d58fa8c0a812a9577d0c1/chef-sentry-handler/metadata.rb:1
Run with Foodcritic Version 8.0.0 with tags ~FC031 ~FC045 and failure tags any