Last modified: 2014-07-30 09:43:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70820, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68820 - Automatically log fatals/exceptions into Phabricator with stack traces
Automatically log fatals/exceptions into Phabricator with stack traces
Status: NEW
Product: Wikimedia
Classification: Unclassified
Logstash (Other open bugs)
wmf-deployment
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-29 20:10 UTC by Sam Reed (reedy)
Modified: 2014-07-30 09:43 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2014-07-29 20:10:51 UTC
It'd be great if fatals and exceptions were automagically logged into BZ with stack traces.

Obviously just logging every occurrence straight into BZ would be a mess.


There was talk of a logstash dedupe tool that might help allievate this problem...
Comment 1 Sam Reed (reedy) 2014-07-29 20:11:32 UTC
Dropping priority. It'd be nice to have, but it really isn't urgent
Comment 2 Sam Reed (reedy) 2014-07-29 20:13:26 UTC
Suggested tool is https://sentry.readthedocs.org/en/latest/
Comment 3 Greg Grossmeier 2014-07-29 21:01:36 UTC
Obligatory "make sure we don't expose sensitive data" comment.
Comment 4 Greg Grossmeier 2014-07-29 21:49:00 UTC
Related: https://github.com/thurloat/sentry-jira

It lets you create JIRA issues from Sentry items/whatever they're called.

No Bugzilla plugin yet.

But there is a Phabricator plugin: https://github.com/getsentry/sentry-phabricator  :) :)

So, that would allow manual task creation, not automatic. Maybe good enough for a first step.
Comment 5 Bryan Davis 2014-07-30 02:27:59 UTC
A logstash to sentry output plugin (http://clarkdave.net/2014/01/tracking-errors-with-logstash-and-sentry/) may come in handy
Comment 6 Bryan Davis 2014-07-30 02:45:57 UTC
Testing instance (un-puppeted POC) at https://sentry-beta.wmflabs.org. The phabricator plugin is installed. We need to 1) get some data in there, 2) setup a phabricator user to post bugz, 3) configure sentry to use the user.

For the "no private data" part, maybe we should setup the project that the bugs are posted to as private somehow and let a human triage them?
Comment 7 Greg Grossmeier 2014-07-30 05:23:01 UTC
(In reply to Bryan Davis from comment #6)
> For the "no private data" part, maybe we should setup the project that the
> bugs are posted to as private somehow and let a human triage them?

That's what I was thinking, yeah. We can reuse what Mukunda did for the Security project, but no spam the Security project.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links