Closed Bug 839148 Opened 11 years ago Closed 11 years ago

Create a table to store temporary statistics data for monolith

Categories

(Marketplace Graveyard :: Statistics, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2013-02-28

People

(Reporter: andy+bugzilla, Assigned: alexis+bugs)

References

Details

Create a Django model to store any stats we want to send to monolith. The model should have a key eg 'app.install', a datetime, a value (presumably 1 most of the time) and a user. The user might be a real user or anonymous, so perhaps we just want to do a hash of the session so that we prevent duping rapid calls.

We'll then use this table to store data and flush it whenever monolith picks it up. That's a seperate bug though, this is a bug about just creating the model and maybe a handy "record_stat" method.
Blocks: 838912
Assignee: nobody → alexis
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [u=dev c=mkt-statistics p=2]
https://github.com/ametaireau/zamboni/commit/fc9c2715bf991d9446626263c49d4a27f087bc8b
:andym r?
OS: All → Mac OS X
Hardware: All → x86
Whiteboard: [u=dev c=mkt-statistics p=2]
Target Milestone: --- → 2013-02-28
Fixed in https://github.com/mozilla/zamboni/commit/2c5879f8694735e67a85475173c6787f9aa738fd
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.