Closed Bug 788055 Opened 12 years ago Closed 12 years ago

[socorro-crashstats] implement CSV output

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: peterbe)

References

Details

(Whiteboard: https://github.com/mozilla/socorro-crashstats/issues/50)

Our needs are probably simple enough for this:

https://docs.djangoproject.com/en/dev/howto/outputting-csv/
There is some work done on this:
https://github.com/mozilla/socorro-crashstats/pull/57
Depends on: 788043
Peter,

If we run into performance issues, Postgres can also generate CSV from a query. The reason I bring this up is that the Django CSV stuff is, in my experience, very slow and CPU-intensive.  Try the Django way first, of course.
(In reply to [:jberkus] Josh Berkus from comment #4)
> Peter,
> 
> If we run into performance issues, Postgres can also generate CSV from a
> query. The reason I bring this up is that the Django CSV stuff is, in my
> experience, very slow and CPU-intensive.  Try the Django way first, of
> course.

Good point, however our django UI does not talk to postgres (except for session), it would be the middleware doing this.

Currently the middleware does a query and returns JSON, and the views implemented in Django decide whether to render that to HTML, CSV, RSS, etc.
(In reply to Peter Bengtsson [:peterbe] from comment #3)
> Partial PR for the topcrashers
> https://github.com/mozilla/socorro-crashstats/pull/100

Why is the PR closed?
(In reply to Robert Helmer [:rhelmer] from comment #6)
> (In reply to Peter Bengtsson [:peterbe] from comment #3)
> > Partial PR for the topcrashers
> > https://github.com/mozilla/socorro-crashstats/pull/100
> 
> Why is the PR closed?

That's a "bug" in github. There is a reference to another PR in there which is closed. The #100 is still open.
The CSV output for Top Crashers has landed
https://github.com/mozilla/socorro-crashstats/commit/fea4b783b148c3f86137a5914419ea5280e2d586

Now Just waiting for the Top Crashers By User report to do the second part.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.