Skip to content

Commit 0ce8c67

Browse files
committed
newrelic
1 parent 6a9f3b2 commit 0ce8c67

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ ruby '2.2.3'
33

44
gem 'camping'
55
gem 'thin'
6-
gem 'rack'
6+
gem 'rack'
7+
gem 'newrelic_rpm'

Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ GEM
77
daemons (1.2.3)
88
eventmachine (1.0.8)
99
mab (0.0.3)
10+
newrelic_rpm (3.13.0.299)
1011
rack (1.6.4)
1112
thin (1.6.3)
1213
daemons (~> 1.0, >= 1.0.9)
@@ -18,6 +19,7 @@ PLATFORMS
1819

1920
DEPENDENCIES
2021
camping
22+
newrelic_rpm
2123
rack
2224
thin
2325

config/newrelic.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#
2+
# This file configures the New Relic Agent. New Relic monitors Ruby, Java,
3+
# .NET, PHP, Python and Node applications with deep visibility and low
4+
# overhead. For more information, visit www.newrelic.com.
5+
#
6+
# Generated August 24, 2015
7+
#
8+
# This configuration file is custom generated for app40491621@heroku.com
9+
#
10+
# For full documentation of agent configuration options, please refer to
11+
# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration
12+
13+
# license key set in env variable...
14+
common: &default_settings
15+
# Your application name. Renaming here affects where data displays in New
16+
# Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
17+
app_name: Big Ole Texas
18+
19+
# To disable the agent regardless of other settings, uncomment the following:
20+
# agent_enabled: false
21+
22+
# Logging level for log/newrelic_agent.log
23+
log_level: info
24+
25+
26+
# Environment-specific settings are in this section.
27+
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
28+
# If your application has other named environments, configure them here.
29+
development:
30+
<<: *default_settings
31+
app_name: Big Ole Texas (dev)
32+
33+
# NOTE: There is substantial overhead when running in developer mode.
34+
# Do not use for production or load testing.
35+
developer_mode: true
36+
37+
test:
38+
<<: *default_settings
39+
# It doesn't make sense to report to New Relic from automated test runs.
40+
monitor_mode: false
41+
42+
staging:
43+
<<: *default_settings
44+
app_name: Big Ole Texas (stage)
45+
46+
production:
47+
<<: *default_settings

0 commit comments

Comments
 (0)