Closed Bug 1035822 Opened 10 years ago Closed 10 years ago

Accessing metadata fields through the API

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Yoric, Unassigned)

Details

I have attempted to the signature of AsyncShutdownTimeout crashes using the API. So far, the only way I have found that might work is not good at all:

1. Get all the crash signatures by calling ReportList or Search;
2. For each crash signature, get the raw crash using RawCrash;
3. Parse, display, etc.

It would be much nicer if there was an API call (e.g. SuperSearch) that took as optional argument a metadata field and optionally a regexp, to find all instances that contain said metadata and match the regexp.
I have added `async_shutdown_timeout` to stage and prod. It is now accessible in Super Search (e.g. https://crash-stats.mozilla.com/search/?async_shutdown_timeout=!__null__&columns=async_shutdown_timeout ) and via the API (e.g. https://crash-stats.mozilla.com/api/SuperSearch/?async_shutdown_timeout=!__null__&_results_number=0 ). 

Note that it is, at the moment, stored as a string in elasticsearch. In bug 1035127, I will make the mapping something closer to the actual value.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.