forked from djoos-cookbooks/newrelic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
48 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# | ||
# Cookbook Name:: newrelic | ||
# Attributes:: nodejs-agent | ||
# | ||
# MIT Licensed | ||
# Copyright 2012-2013, Escape Studios | ||
# | ||
|
||
# Array of Hash describing the apps to monitor: | ||
# [ | ||
# { 'app_name' => 'My Application', 'app_path' => "/path/to/app/root" } | ||
# ] | ||
default['newrelic']['nodejs']['apps'] = [] | ||
|
||
default['newrelic']['nodejs_recipe'] = "nodejs::npm" |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
/** | ||
* THIS FILE IS MANAGED BY CHEF | ||
* ALL MODIFICATIONS WILL BE LOSTS | ||
* TO EDIT, SEE newrelic COOKBOOK AT .../templates/default/newrelic.js.erb | ||
* ################### | ||
* # Generated by Chef | ||
* ################### | ||
* | ||
* New Relic agent configuration. | ||
* | ||
* See lib/config.defaults.js in the agent distribution for a more complete | ||
* description of configuration variables and their potential values. | ||
*/ | ||
exports.config = { | ||
/** | ||
* Array of application names. | ||
*/ | ||
app_name : ['<%= @app_name %>'], | ||
/** | ||
* Your New Relic license key. | ||
*/ | ||
license_key : '<%= node['newrelic']['application_monitoring']['license'] %>', | ||
logging : { | ||
/** | ||
* Level at which to log. 'trace' is most useful to New Relic when diagnosing | ||
* issues with the agent, 'info' and higher will impose the least overhead on | ||
* production applications. | ||
* Array of application names. | ||
*/ | ||
level : '<%= @app_log_level %>' | ||
} | ||
}; | ||
app_name: ['<%= @app_name %>'], | ||
/** | ||
* Your New Relic license key. | ||
*/ | ||
license_key: '<%= node['newrelic']['application_monitoring']['license'] %>', | ||
logging: { | ||
/** | ||
* Level at which to log. 'trace' is most useful to New Relic when diagnosing | ||
* issues with the agent, 'info' and higher will impose the least overhead on | ||
* production applications. | ||
*/ | ||
level: '<%= @app_log_level %>' | ||
} | ||
}; |