Commit 85751134 by Tran Hoang Viet

VietTH: Implement newrelic service

parent 858c8851
...@@ -12,5 +12,6 @@ ...@@ -12,5 +12,6 @@
!/log/.keep !/log/.keep
/tmp /tmp
/public/uploads/ /public/uploads/
/public/assets/
/config/database.yml /config/database.yml
/*.sh /*.sh
...@@ -49,6 +49,7 @@ group :development, :test do ...@@ -49,6 +49,7 @@ group :development, :test do
gem 'faker', '~> 1.4.3' gem 'faker', '~> 1.4.3'
gem 'shoulda-matchers', '~> 2.8.0' gem 'shoulda-matchers', '~> 2.8.0'
gem 'pry-byebug' gem 'pry-byebug'
gem 'thin'
end end
# template # template
...@@ -103,3 +104,5 @@ gem 'font-awesome-rails', '~> 4.3.0.0' ...@@ -103,3 +104,5 @@ gem 'font-awesome-rails', '~> 4.3.0.0'
gem 'meta-tags', '~> 2.0.0' gem 'meta-tags', '~> 2.0.0'
gem 'fog', '~> 1.32.0' gem 'fog', '~> 1.32.0'
gem 'newrelic_rpm', '~> 3.12.1.298'
\ No newline at end of file
...@@ -89,6 +89,7 @@ GEM ...@@ -89,6 +89,7 @@ GEM
colorize (0.7.7) colorize (0.7.7)
columnize (0.9.0) columnize (0.9.0)
connection_pool (2.2.0) connection_pool (2.2.0)
daemons (1.2.3)
database_cleaner (1.4.1) database_cleaner (1.4.1)
debug_inspector (0.0.2) debug_inspector (0.0.2)
devise (3.5.1) devise (3.5.1)
...@@ -105,6 +106,7 @@ GEM ...@@ -105,6 +106,7 @@ GEM
activesupport (>= 3.0) activesupport (>= 3.0)
request_store (~> 1.0) request_store (~> 1.0)
erubis (2.7.0) erubis (2.7.0)
eventmachine (1.0.7)
excon (0.45.4) excon (0.45.4)
execjs (2.5.2) execjs (2.5.2)
factory_girl (4.5.0) factory_girl (4.5.0)
...@@ -273,6 +275,7 @@ GEM ...@@ -273,6 +275,7 @@ GEM
net-scp (1.2.1) net-scp (1.2.1)
net-ssh (>= 2.6.5) net-ssh (>= 2.6.5)
net-ssh (2.9.2) net-ssh (2.9.2)
newrelic_rpm (3.12.1.298)
nokogiri (1.6.6.2) nokogiri (1.6.6.2)
mini_portile (~> 0.6.0) mini_portile (~> 0.6.0)
orm_adapter (0.5.0) orm_adapter (0.5.0)
...@@ -401,6 +404,10 @@ GEM ...@@ -401,6 +404,10 @@ GEM
net-scp (>= 1.1.2) net-scp (>= 1.1.2)
net-ssh (>= 2.8.0) net-ssh (>= 2.8.0)
subexec (0.2.3) subexec (0.2.3)
thin (1.6.3)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0)
rack (~> 1.0)
thor (0.19.1) thor (0.19.1)
thread_safe (0.3.5) thread_safe (0.3.5)
tilt (1.4.1) tilt (1.4.1)
...@@ -465,6 +472,7 @@ DEPENDENCIES ...@@ -465,6 +472,7 @@ DEPENDENCIES
meta-tags (~> 2.0.0) meta-tags (~> 2.0.0)
mini_magick (~> 3.8.1) mini_magick (~> 3.8.1)
mysql2 mysql2
newrelic_rpm (~> 3.12.1.298)
pry-byebug pry-byebug
pry-rails (~> 0.3.4) pry-rails (~> 0.3.4)
pundit (~> 1.0.1) pundit (~> 1.0.1)
...@@ -482,6 +490,7 @@ DEPENDENCIES ...@@ -482,6 +490,7 @@ DEPENDENCIES
shoulda-matchers (~> 2.8.0) shoulda-matchers (~> 2.8.0)
sidekiq (~> 3.4.1) sidekiq (~> 3.4.1)
spring spring
thin
turbolinks turbolinks
twitter-bootstrap-rails (~> 3.2.0) twitter-bootstrap-rails (~> 3.2.0)
uglifier (>= 1.3.0) uglifier (>= 1.3.0)
......
#
# This file configures the New Relic Agent. New Relic monitors Ruby, Java,
# .NET, PHP, Python and Node applications with deep visibility and low
# overhead. For more information, visit www.newrelic.com.
#
# Generated July 23, 2015
#
# This configuration file is custom generated for NUS_18
#
# For full documentation of agent configuration options, please refer to
# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration
common: &default_settings
# Required license key associated with your New Relic account.
license_key: ad4992474e65f11b1dd9472e8670432a21cabe6c
# Your application name. Renaming here affects where data displays in New
# Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
app_name: Venshop
# To disable the agent regardless of other settings, uncomment the following:
# agent_enabled: false
# Logging level for log/newrelic_agent.log
log_level: info
# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
<<: *default_settings
app_name: Venshop (Development)
# NOTE: There is substantial overhead when running in developer mode.
# Do not use for production or load testing.
developer_mode: true
test:
<<: *default_settings
# It doesn't make sense to report to New Relic from automated test runs.
monitor_mode: false
staging:
<<: *default_settings
app_name: Venshop (Staging)
production:
<<: *default_settings
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment