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

Services and runtime findings

At runtime, Tomosu watches each service and investigates every signal that fires. It follows spans, stack frames, recent changes and the call graph to the code most likely causing it, then applies the same rules and fixes as before merge. The result is a finding labeled Runtime or Pre-merge + Runtime.

  • tomosu runtime
  • Console: Runtime
  • Origin: Pre-merge + Runtime
  • Updated

How do I see my services?

The Runtime page lists every service seen in production over the last 15 minutes: version, requests, error rate, p95 latency, how many endpoints are linked to code, the code index in use, and how many signals there are to fix.

The Runtime page: the engine's load mode and counters, and a table of two services, partners and shop, with version, requests, error rate, p95, endpoints linked to code, code index, signals to fix and a Report button.
Runtime, from the demo.
$ tomosu runtime --engine http://localhost:7600
service                  env           requests   errors   p95 ms endpoints
partners                 demo               656       51     1522         4
shop                     demo              1796      539     1002        11

Each service has its own page with its endpoints, dependencies and What to fix: the production signals on that service, traced to the code most likely causing them.

A service page for demo/partners: requests, errors, p95, instances and code version, then What to fix with runtime findings such as HTTP 500 seen in production and a small share of requests extremely slow, each linked to a line in a function.
A service page: What to fix.

What is a runtime signal?

A runtime signal is a rule of kind: runtime, evaluated on live data every minute. Each compares the last 5 minutes with the hour before, for one kind of subject:

SubjectExample signals
An endpointTail latency, slow share, failures slower than successes, load shedding, HTTP 500s, a new version failing more
A dependency callErrors, timeouts, retry amplification, throttling, N+1 queries, slow queries rising, cache errors, 429 rate limits
A log messageCrashes, retries exhausted, tight error loops, secrets or personal data in logs
A service or metricTraffic drops and surges, error share doubling, memory climbing, CPU saturated

How does a signal become a finding?

Every signal that fires is investigated, because the cause can be anywhere in the code:

  1. Gather evidence from the code indexes: the code linked to the subject, exceptions and their stack frames, the calls made while serving the request, the service’s worst operations and error logs, functions changed since the previous deploy, and the call graph below each.
  2. Rank suspects by how much evidence points at them.
  3. Apply the rules. A rule finding in a suspect function becomes a cause only when it is related to the signal. Up to three causes become Pre-merge + Runtime findings and keep their rule’s fix.
  4. No related rule matched: the finding stays Runtime, with the ranked suspects and written guidance. With model assist on, Tomosu Agent reads the top suspects and may name the cause and draft a fix.

The finding page shows the chain under What production points at:

What production points at: the cause of an extreme-tail latency signal on GET /quote/{sku} is the quote function, which spends all its time waiting on an outbound call; evidence from traces with weights, and the likely causes ranked by score.
What production points at, for a slow endpoint.

In the terminal, list runtime findings with tomosu findings --origin runtime and read the chain with tomosu explain <id> --engine URL (Read a finding).

MethodUsesConfidence
Code attributescode.function, code.filepath on a span or log95%
HTTP routehttp.route matched to the handler that declares it90%
Stack traceThe innermost frame of your code in a recorded exception85%
Log templateA log message matched to a log statement60%, or 40% if several match
Time windowService and version only; no function20%

Confidence drops when the running version does not match an indexed commit, and ambiguous matches are refused rather than guessed.