Last active
December 24, 2015 03:29
-
-
Save alq666/6738119 to your computer and use it in GitHub Desktop.
An example of datadog's chef recipe for nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default_overrides({ | |
| :datadog => { | |
| :api_key => "...", | |
| # ... | |
| } | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default_overrides({ | |
| :datadog => { | |
| :instances => [ | |
| { | |
| :nginx_status_url => "http://localhost:81/nginx_status/", | |
| :tags => ["prod"] | |
| }, | |
| ] | |
| }, | |
| }) | |
| run_list( | |
| # ... | |
| "recipe[datadog::nginx]" | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment