Closed
Bug 771153
Opened 12 years ago
Closed 12 years ago
[MOBETA] Add a middleware service to serve home page graphs data
Categories
(Socorro Graveyard :: Middleware, defect)
Socorro Graveyard
Middleware
Tracking
(Not tracked)
RESOLVED
FIXED
18
People
(Reporter: adrian, Assigned: adrian)
References
Details
(Whiteboard: [qa-])
Specs:
URL: /crashes/daily
Arguments:
product: string
versions: list of strings or string
from_date: datetime (default a week ago)
to_date: datetime (default now)
date_range_type: string, 'date' or 'build' (default 'date')
Return example:
{
"hits": {
"Firefox:11.0": {
"2012-07-01": {
product_name,
version_string,
report_date,
report_count,
adu,
crash_hadu
},
"2012-07-02": {
product_name,
version_string,
report_date,
report_count,
adu,
crash_hadu
},
...
}
"Firefox:12.0b1": {
"2012-07-01": {
version_string,
report_date,
report_count,
adu,
crash_hadu
}
}
}
}
@Schalk: would that return value suit your needs?
Assignee | ||
Updated•12 years ago
|
Target Milestone: 17 → 18
Comment 1•12 years ago
|
||
Adrian,
Per our discussion, the parameters for home page graph search are:
OS = "All"
Crash Type = [ 'Browser', 'OOP Plugin', 'Hang Plugin', 'Content' ]
It's still unclear on whether the above Crash Type parameter should be equivalent to "All".
Assignee | ||
Comment 2•12 years ago
|
||
I'm actually going to extend that service so it can be used for Crashes per Active Daily User as well. It's just a matter of adding filters with defaults values corresponding to what the home page graphs need.
New spec is:
URL: /crashes/daily
Arguments:
product: string
versions: list of strings or string
from_date: datetime (default a week ago)
to_date: datetime (default now)
date_range_type: string, 'report' or 'build' (default 'report')
os: string, 'windows' or 'mac' or 'linux' or all (= none) (default all os)
report_type: string, 'hang' or 'crash' or all (= none) (default all types)
separate_by: string, 'date' or 'os' or 'report_type' (default 'date')
Return example:
Same as before, but the key will evolve depending on 'separate_by'. If it's "date" then return the same as before (key = product:version), if it's "os" then keys are product:version:os and if it's "report_type" then keys are product:version:report_type.
Assignee | ||
Comment 3•12 years ago
|
||
Pull request: https://github.com/mozilla/socorro/pull/750
Target Milestone: 18 → 19
Assignee | ||
Updated•12 years ago
|
Target Milestone: 19 → 18
Comment 4•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/738a73583ce6fd4acaa9e3f466e9b03fc9f3d676
Fixes bug 771153 - Added a service for daily crashes and home page graphs.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/2ba4c9af56549942b9c649814d1ebfa207f73433
Merge pull request #792 from AdrianGaudebert/add-crash-hadu-to-crashes-daily-service
bug 771153 - fixed crashes/daily service
Updated•12 years ago
|
Whiteboard: [qa-]
Updated•8 years ago
|
Product: Socorro → Socorro Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•