Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How do you track your 503s?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Doubrovkine  
View profile  
 More options Nov 12 2012, 3:36 pm
From: Daniel Doubrovkine <dbl...@dblock.org>
Date: Mon, 12 Nov 2012 15:36:14 -0500
Local: Mon, Nov 12 2012 3:36 pm
Subject: How do you track your 503s?

We occasionally get 503s, caused by all kinds of things - a dyno will be
sitting in a lock, a database went MIA, Heroku is having trouble, etc.

How do you track 503s? I'd like to keep their counts, graph, etc. Ideally
I'd like to get them in New Relic, but these are errors that happen outside
of our dynos.

Thanks,
dB.

--

dB. | Moscow - Geneva - Seattle - New York
dblock.org <http://www.dblock.org> -
@dblockdotorg<http://twitter.com/#!/dblockdotorg>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Baudanza  
View profile  
 More options Nov 12 2012, 4:53 pm
From: Jonathan Baudanza <jonathan.bauda...@gmail.com>
Date: Mon, 12 Nov 2012 13:53:14 -0800
Local: Mon, Nov 12 2012 4:53 pm
Subject: Re: How do you track your 503s?

I don't know of a way to track 503s, but the "Request Queuing" measurement
in New Relic is helpful. This will tell you if all of your available dynos
are being consumed. This may not be related to 503s, but it often is.

On Mon, Nov 12, 2012 at 12:36 PM, Daniel Doubrovkine <dbl...@dblock.org>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Middleton  
View profile  
 More options Nov 12 2012, 4:55 pm
From: Neil Middleton <n...@neilmiddleton.com>
Date: Mon, 12 Nov 2012 21:55:12 +0000
Local: Mon, Nov 12 2012 4:55 pm
Subject: Re: How do you track your 503s?

If you're using an add-on such as Papertrail you can pretty much track what you want via your own searches and alerts.  

I'm not sure of any way of doing it with NewRelic.

N

--
Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Doubrovkine  
View profile  
 More options Nov 12 2012, 5:38 pm
From: Daniel Doubrovkine <dbl...@dblock.org>
Date: Mon, 12 Nov 2012 17:38:46 -0500
Local: Mon, Nov 12 2012 5:38 pm
Subject: Re: How do you track your 503s?

Neil, thank you.

Can you elaborate on this? Are you saying I can pull data I have in
papertrail right now into New Relic?

On Mon, Nov 12, 2012 at 4:55 PM, Neil Middleton <n...@neilmiddleton.com>wrote:

--

dB. | Moscow - Geneva - Seattle - New York
dblock.org <http://www.dblock.org> -
@dblockdotorg<http://twitter.com/#!/dblockdotorg>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Middleton  
View profile  
 More options Nov 12 2012, 5:42 pm
From: Neil Middleton <n...@neilmiddleton.com>
Date: Mon, 12 Nov 2012 22:42:44 +0000
Local: Mon, Nov 12 2012 5:42 pm
Subject: Re: How do you track your 503s?

No, AFAIK you can't push stuff into NewRelic (unless their API let's you do that).

Essentially Heroku lets you drain your logs into something like Papertrail or Loggly.  These logs will include your 503's.
From here you can then setup alerts and suchlike depending on the service you're using and do what you will with them.  For instance, you could probably push these out to a small app that pushes them onto the NR API (if it let's you).

Saying this, this isn't something I've tried - I'm not sure of the benefit of getting this data into NR, quite often the logging services will let you visualise the data somehow.

--
Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Schneeman  
View profile  
 More options Nov 13 2012, 9:43 pm
From: Richard Schneeman <richard.schnee...@gmail.com>
Date: Wed, 14 Nov 2012 04:43:44 +0200
Local: Tues, Nov 13 2012 9:43 pm
Subject: Re: How do you track your 503s?

You can log custom data to NewRelic (or you used to be able to anyway) we used this controller method at Gowalla:

  def send_to_rpm(e)
    rack_env = ENV.to_hash.merge(request.env)
    rack_env.delete('rack.session.options')

    opts = {
      :request_params => params,
      :custom_params => {
        :session => session,
        :rack => rack_env
      }
    }

    NewRelic::Agent.notice_error(e, opts)
  end

--
Richard Schneeman
http://heroku.com

@schneems (http://twitter.com/schneems)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Doubrovkine  
View profile  
 More options Nov 14 2012, 12:53 pm
From: Daniel Doubrovkine <dbl...@dblock.org>
Date: Wed, 14 Nov 2012 12:53:40 -0500
Local: Wed, Nov 14 2012 12:53 pm
Subject: Re: How do you track your 503s?

Richard, you cannot log this to New Relic because Heroku doesn't hit our
code.

On Tue, Nov 13, 2012 at 9:43 PM, Richard Schneeman <

--

dB. | Moscow - Geneva - Seattle - New York
dblock.org <http://www.dblock.org> -
@dblockdotorg<http://twitter.com/#!/dblockdotorg>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Doubrovkine  
View profile  
 More options Nov 14 2012, 12:55 pm
From: Daniel Doubrovkine <dbl...@dblock.org>
Date: Wed, 14 Nov 2012 12:55:23 -0500
Local: Wed, Nov 14 2012 12:55 pm
Subject: Re: How do you track your 503s?

Thanks everybody for your responses. Here's what I ended up doing:

   1. Setup papertrail with a custom query for
   events?q=heroku%2Frouter+ERROR+H12
   2. Push from papertrail to our Geckboard custom number widget. This was
   straightforward in "Alerts" under Papertrail search options.

Now I see a nice picture on Geckoboard, at least socializing the size of
the 503 problem: http://cl.ly/image/182A2q102E3S

cheers
dB.

On Wed, Nov 14, 2012 at 12:53 PM, Daniel Doubrovkine <dbl...@dblock.org>wrote:

--

dB. | Moscow - Geneva - Seattle - New York
dblock.org <http://www.dblock.org> -
@dblockdotorg<http://twitter.com/#!/dblockdotorg>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »