Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

PDF reports

Tomosu writes two PDF reports for people who will not open a terminal. A scan report covers a codebase or a branch; a service report covers what production shows on one service over the last 15 minutes. Both list the findings and recommended fixes, and never include how Pro rules decide.

  • scan --pdf
  • runtime --pdf
  • Console: Report
  • Updated

Which reports are there?

ReportCoversTerminalConsole
Scan reportA folder, or a branch scanned on the enginetomosu scan --pdf report.pdfPre-Merge → a scanned branch → Report
Service reportOne service in production, over the last 15 minutestomosu runtime --pdf shop.pdf --service shopRuntime → a service → Report

How do I make a scan report?

Add --pdf to any scan. The usual report still goes to the terminal or --out; the PDF is written beside it.

$ tomosu scan . --pdf report.pdf
17 findings in 1 file · 218 checks · rules dev/dev-d4ba7cc
PDF report written to report.pdf

It also works with a remote branch: tomosu scan --github owner/name --branch b --pdf report.pdf.

The first three pages of a Tomosu pre-merge reliability report: a summary with counts by severity and charts, a table of problem categories and where the problems are, and the pattern detectors that fired with what each looks for and its fix.
The first three of eleven pages, for the demo shop.

A scan report holds, in this order:

  1. a summary with charts: findings by severity, how they were found and fixed, and by problem category;
  2. the problem categories and the files with the most findings;
  3. each pattern detector that fired: what it looks for, what kind of detector it is, what it prevents, an example match and its fix;
  4. the findings, most urgent first (the first 80; the rest are counted);
  5. the recommended fixes, grouped as rule fix, fix drafted by Tomosu Agent, guidance only, and found by Tomosu Agent;
  6. an appendix on how the rules decide.

How do I make a service report?

From a running engine, name the service:

$ tomosu runtime --pdf shop.pdf --service shop --engine http://localhost:7600
runtime report for demo / shop written to shop.pdf (38844 bytes)

In the console, each service on the Runtime page has a Report button, marked New when what there is to fix has changed since that browser last opened it.

The first two pages of a Tomosu runtime report for the shop service: traffic, versions and code index, then the recommendations with their production evidence.
A service report’s first two pages.

It covers the service’s traffic, versions and code index, and every recommendation with its production evidence, grouped like the scan report. Evidence is redacted, as everywhere in Tomosu.

What is never in a report?

How a Pro rule decides. Pro detectors are named, with the risk and the fix, but their conditions and parameters are never written to a report.