Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

DevTools error reports

Weekly reports on the DevTools toolbox error telemetry:

  • devtools.main.toolbox_server_error: errors from server requests while the toolbox opens ("startup errors").
  • devtools.main.toolbox_component_error: errors caught by React error boundaries in the toolbox ("component errors").

The probes were added in bug 2015389. Live charts are on the Redash dashboard.

Reports

Each week has a folder in reports/<YYYY-MM-DD>/:

  • server.md, component.md: full analysis of the last 7 days.
  • meeting.md: short text for the team meeting, with the change vs the previous week.
  • summary.json: totals and top issues, used to compute the change.

Reports before 2026-11-24 were imported from gists. Older ones have different formats.

When you compare weeks:

  • The probes reached release around 2026-03-30. Only compare reports from 2026-04-13 onward.
  • Use the totals. Do not compute rates from row timestamps: some clients have a wrong clock.

How it runs

  1. Redash refreshes queries 114959 (server) and 114982 (component) on Mondays at 05:00 UTC. The other dashboard queries have the same schedule.
  2. The weekly workflow runs on Mondays at 07:00 UTC. It downloads the cached results, runs analyze.py, and commits the new folder. The meeting text is also shown in the workflow run summary.

The workflow only reads query results. It uses the per-query API keys, stored as the REDASH_SERVER_QUERY_KEY and REDASH_COMPONENT_QUERY_KEY repository secrets. You find a query's key on its Redash page, in the "Show API Key" menu item. Query keys cannot start a refresh on STMO, so the refresh schedule must stay on Redash.

If the results are more than 2 days old, the workflow fails. Check the refresh schedule on Redash. You can then run the workflow by hand ("Run workflow"), with "Accept Redash results older than 2 days" if needed.

Run locally

export REDASH_SERVER_QUERY_KEY=...
export REDASH_COMPONENT_QUERY_KEY=...
python3 weekly.py

To analyze a CSV export directly:

python3 analyze.py path/to/export.csv
python3 analyze.py path/to/export.csv --summary-only

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages