On Mon, Nov 21, 2011 at 9:07 PM, Graham Dumpleton
<[email protected]> wrote:
> Here is an example to clarify now that am connected back to the real
> world at last.
I'm glad you have inet again :)
>
> [Mon Oct 24 15:29:31 2011] [error] Traceback (most recent call last):
> [Mon Oct 24 15:29:31 2011] [error] File
> "/Library/WebServer/Sites/mingus-1/lib/python2.6/site-packages/newrelic-0.5.57.0/newrelic/core/application.py",
> line 211, in harvest
> [Mon Oct 24 15:29:31 2011] [error] connection, stats.metric_data())
> [Mon Oct 24 15:29:31 2011] [error] File
> "/Library/WebServer/Sites/mingus-1/lib/python2.6/site-packages/newrelic-0.5.57.0/newrelic/core/remote.py",
> line 122, in send_metric_data
> [Mon Oct 24 15:29:31 2011] [error] res =
> self.invoke_remote(conn,"metric_data",True,self._agent_run_id,self._agent_run_id,self._metric_data_time,now,metric_data)
> [Mon Oct 24 15:29:31 2011] [error] File
> "/Library/WebServer/Sites/mingus-1/lib/python2.6/site-packages/newrelic-0.5.57.0/newrelic/core/remote.py",
> line 156, in invoke_remote
> [Mon Oct 24 15:29:31 2011] [error] return
> self._remote.invoke_remote(connection, method, compress, agent_run_id,
> *args)
> [Mon Oct 24 15:29:31 2011] [error] File
> "/Library/WebServer/Sites/mingus-1/lib/python2.6/site-packages/newrelic-0.5.57.0/newrelic/core/remote.py",
> line 270, in invoke_remote
> [Mon Oct 24 15:29:31 2011] [error] raise Exception("%s failed:
> status code %i" % (method, response.status))
> [Mon Oct 24 15:29:31 2011] [error] Exception: metric_data failed:
> status code 503
>
> So for normal Python traceback you get code snippet, eg:
>
> return self._remote.invoke_remote(connection, method, compress,
> agent_run_id, *args)
>
> I don't give that as can see issues with doing that.
Oh, I misunderstand you. When you said "code line" I thought "code
line number" and I mixed up. Sorry. It's clear now :)
And yes, of course, the info it will provide it's enough for us =)
Thanks a lot,
Rodrigo
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.