Python utility for pulling Mozilla redash crash ping telemetry down and generating top crash reports for Firefox utility processes.
Note, to get the html displaying right, you'll need to download fontawesome webfonts and store it in the root under 'fontawesome'.
Usage:
-u (url) : redash rest endpoint url
-k (str) : redash user api key
-q (query id) : redash api query id
-n (name) : local json cache filename to use (excluding extension)
-d (name) : local html output filename to use (excluding extension)
-c (count) : number of reports to process, overrides the default of 5000
-p (k=v) : k=v redash query parameters to pass to the query request.
required -p parameters: process_type, version, channel
example: python3 crashes.py -n release -d release -u https://sql.telemetry.mozilla.org -k (userapikey) -q 85274 -p process_type=content -p version=99 -p channel=release -p exp=bug-1763156-pref-win32k-experiment-v3-release-99-100 -p days_ago=1 -p to_days_ago=0