From 7595facfb0455e9046e096a6dea872b68763c226 Mon Sep 17 00:00:00 2001 From: Cooper Marcus Date: Fri, 17 Jan 2014 16:36:54 -0800 Subject: [PATCH 1/4] New plan name for NR on Heroku --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0783b18..c5fd18d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Step 2 Deploy your app to Heroku and load the database there heroku apps:create - heroky addons:add pgbackups:plus newrelic:standard memcachier + heroku addons:add pgbackups:plus newrelic:stark memcachier heroku pgbackups:restore DATABASE 'http://newrelic-ruby-kata.herokuapp.com/sample-data.dump' From e64ef5e47ed2d74aebd3318ad674615d779530b9 Mon Sep 17 00:00:00 2001 From: Cooper Marcus Date: Fri, 17 Jan 2014 16:38:31 -0800 Subject: [PATCH 2/4] Another spot for new plan name for NR on Heroku --- app/views/home/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 7a988ac..c0a9a0f 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -39,7 +39,7 @@ git push heroku master The New Relic agent will help you find and solve the performance issues in this application as well as help you see the complete impact of your changes.

-
heroku addons:add newrelic:standard
+
heroku addons:add newrelic:stark
From 3fd6d93572e82c95b938bdd029949bf44df9e579 Mon Sep 17 00:00:00 2001 From: Cooper Marcus Date: Thu, 6 Feb 2014 11:31:47 -0800 Subject: [PATCH 3/4] Amazon affiliate link to raise money for Cooper's kid's school --- app/views/home/index.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index c0a9a0f..1a8549d 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -3,8 +3,7 @@ .hero-unit p { line-height: 140%; }

New Relic Ruby Kata

-

Code Kata is a term coined by Dave Thomas, co-author of the book The Pragmatic Programmer, - in a nod to the Japanese concept of kata in the martial arts. A code kata is an exercise in +

Code Kata is a term coined by Dave Thomas, co-author of the book The Pragmatic Programmer in a nod to the Japanese concept of kata in the martial arts. A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition.

The goal of this Kata is to get your mind wired into performance driven development, to reinforce your skills as a user of New Relic From 1f5a6c5eedcb19ae4cb02559fcc2ca98d1c53ded Mon Sep 17 00:00:00 2001 From: Cooper Marcus Date: Thu, 6 Feb 2014 11:37:18 -0800 Subject: [PATCH 4/4] Set name of app so it appears correctly in NR RPM UI --- app/views/home/index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 1a8549d..d6d3bde 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -38,7 +38,8 @@ git push heroku master The New Relic agent will help you find and solve the performance issues in this application as well as help you see the complete impact of your changes.

-
heroku addons:add newrelic:stark
+
heroku addons:add newrelic:stark
+heroku config:set NEW_RELIC_APP_NAME="YOUR APP NAME GOES HERE"