Closed
Bug 885377
Opened 12 years ago
Closed 12 years ago
Fix or remove metrics postings
Categories
(Marketplace Graveyard :: Code Quality, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-06-27
People
(Reporter: robhudson, Assigned: andy+bugzilla)
Details
(Whiteboard: [qa-])
The logs have this in it quite a bit. I don't know what this is from but we should probably fix or remove if it's not needed.
[<anon>][None] z.metrics:ERROR Posting to metrics failed uuid: fe511c44-3ef9-462f-9d81-161ba6208e5a :/data/www/addons.mozilla.org/zamboni/lib/metrics/__init__.py:84#012Traceback (most recent call last):#012 File "/data/www/addons.mozilla.org/zamboni/lib/metrics/__init__.py", line 76, in metrics#012 response = urllib2.urlopen(request, timeout=timeout)#012 File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen#012 return _opener.open(url, data, timeout)#012 File "/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/newrelic-1.11.0.55/newrelic/api/object_wrapper.py", line 216, in __call__#012 self._nr_instance, args, kwargs)#012 File "/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/newrelic-1.11.0.55/newrelic/api/external_trace.py", line 60, in dynamic_wrapper#012 return wrapped(*args, **kwargs)#012 File "/usr/lib64/python2.6/urllib2.py", line 391, in open#012 response = self._open(req, data)#012 File "/usr/lib64/python2.6/urllib2.py", line 409, in _open#012 '_open', req)#012 File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain#012 result = func(*args)#012 File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open#012 return self.do_open(httplib.HTTPSConnection, req)#012 File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open#012 raise URLError(err)#012URLError: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
Reporter | ||
Comment 1•12 years ago
|
||
A bit nicer formatting for the traceback:
[<anon>][None] z.metrics:ERROR Posting to metrics failed uuid: fe511c44-3ef9-462f-9d81-161ba6208e5a :/data/www/addons.mozilla.org/zamboni/lib/metrics/__init__.py:84
Traceback (most recent call last):
File "/data/www/addons.mozilla.org/zamboni/lib/metrics/__init__.py", line 76, in metrics
response = urllib2.urlopen(request, timeout=timeout)
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/newrelic-1.11.0.55/newrelic/api/object_wrapper.py", line 216, in __call__
self._nr_instance, args, kwargs)
File "/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/newrelic-1.11.0.55/newrelic/api/external_trace.py", line 60, in dynamic_wrapper
return wrapped(*args, **kwargs)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
Assignee | ||
Comment 2•12 years ago
|
||
We can remove this code, and let metrics know.
Assignee: nobody → amckay
Target Milestone: --- → 2013-06-27
Assignee | ||
Updated•12 years ago
|
Priority: -- → P4
Assignee | ||
Comment 3•12 years ago
|
||
Xavier, we've gone a slightly different direction on metrics, so we are going to remove this ping. Letting you know so you can remove the end point at your end.
Thanks for this setup.
Assignee | ||
Comment 4•12 years ago
|
||
The endpoint you set up was detailed here in bug 753195.
Assignee | ||
Comment 5•12 years ago
|
||
r? @ametaireau https://github.com/mozilla/zamboni/pull/833
Assignee | ||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•