Closed
Bug 1194329
Opened 9 years ago
Closed 9 years ago
Expose raw ADI counts in public web API
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: peterbe)
References
Details
Attachments
(1 file)
Make it available and white-listed in the public web API.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → peterbe
Assignee | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/b89ee43d36b91d21f3410191277c7dcc2495fa33 fixes bug 1194329 - Expose raw ADI counts in public web API https://github.com/mozilla/socorro/commit/a4dda21dfb98041f8cca6126154d39c5f03c4fdc Merge pull request #2948 from peterbe/bug-1194329-expose-raw-adi-counts-in-public-web-api fixes bug 1194329 - Expose raw ADI counts in public web API
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 3•9 years ago
|
||
Peter, do you have some doc on how to use it? I would like to use it for bug 1146863. thanks
Flags: needinfo?(peterbe)
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #3) > Peter, do you have some doc on how to use it? I would like to use it for bug > 1146863. thanks Please ask me again in a week or three. The ADI I exposed has to change slightly for the feature I'm working on that needs this (and was the reason for adding this).
Flags: needinfo?(peterbe)
Comment 5•8 years ago
|
||
peterbe, asking again now. We might want to use this data, is it available ? If so, at what url ?
Flags: needinfo?(peterbe)
Assignee | ||
Comment 6•8 years ago
|
||
https://crash-stats.mozilla.com/api/#ADI The only tricky thing is how to spell the platform. I think it's "Windows", "Mac OS X" or "Linux".
Flags: needinfo?(peterbe)
Comment 7•8 years ago
|
||
Actually it's the "name"s of https://crash-stats.mozilla.com/api/Platforms/ :) Is there a followup bug to expose ADI by build as well?
Comment 8•8 years ago
|
||
Awesome, thanks!
Comment 9•8 years ago
|
||
Actually, one hitch - if I want to know about the beta channel and make this query https://crash-stats.mozilla.com/api/ADI/?end_date=2016-03-17&platforms=Windows&product=Firefox&start_date=2016-03-17&versions=45.0b9&versions=45.0&versions=46.0b1 then the versions=45.0 for the RC build seems have ADI so big that it must be including the release channel.
Assignee | ||
Comment 10•8 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #9) > Actually, one hitch - if I want to know about the beta channel and make this > query > https://crash-stats.mozilla.com/api/ADI/?end_date=2016-03- > 17&platforms=Windows&product=Firefox&start_date=2016-03-17&versions=45. > 0b9&versions=45.0&versions=46.0b1 > then the versions=45.0 for the RC build seems have ADI so big that it must > be including the release channel. Perhaps I don't understand the question but the ADI database is smart in that it notices versions ending with a 'b' [0]. Meaning if you pass `&version=46.0b` you'll get the same effect as doing `&version=46.0b1&version=46.0b2&version=46.0b3...` [0] https://github.com/mozilla/socorro/blob/989302330d4cdf34855d719698825f20d08461a5/socorro/external/postgresql/adi.py#L53
Comment 11•8 years ago
|
||
That's a nice simplification. But what'd I'd really like is to be able to say &channel=beta and ignore anyone on 45.0 with channel=release. Is that doable ?
Comment 12•8 years ago
|
||
Oh, I think I get what you mean now - https://crash-stats.mozilla.com/api/ADI/?end_date=2016-03-17&platforms=Windows&product=Firefox&start_date=2016-03-17&versions=45.0b&versions=46.0b gives me an entry for 45.0b99, the special way Socorro keeps track of RC builds on the beta channel. Is there any way to look up the ESR builds like 45.0.1esr, or 38.7.1esr ? I can't find them with out without the 'esr' suffix.
Comment 13•8 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #12) > Is there any way to look up the ESR builds like 45.0.1esr, or 38.7.1esr ? I > can't find them with out without the 'esr' suffix. ESR tracking doesn't work right on Socorro, IIRC. AFAIK there's a bug on that somewhere. We probably should fix that at some point but ESR has always been low priority.
You need to log in
before you can comment on or make changes to this bug.
Description
•