Projects / Fathom

Systems

Fathom

Fathom is a production error desk. The Next.js desk talks to a NestJS API. A FastAPI worker correlates the deploy and ranks a cause from the change titles already stored on it. Collectors post OTLP JSON. PostgreSQL diagnostics use a role that can only select. Slack and Teams receive a message when someone sends the preview from the case. Runbook steps are shown for a decision. They are not executed.

NestJSNext.jsFastAPIPostgreSQLOpenTelemetry

01 Walkthrough

One short demo and two screens from the product.

VIDEO COMING SOON

Preview not available yet

PICTURE COMING SOON

Preview not available yet

Coming soon
PICTURE COMING SOON

Preview not available yet

Coming soon

02 Stack layers

Desk

Next.jsCasesTimeline

API

NestJSSessionsOTLP ingest

Analysis

FastAPIRedisPostgres

03 Architecture

REQUESTPOST /api/ingest/v1/tracestracing
ingestqueuerankcaseCollectorOTLP JSONEXTDeskNext.jsCLIENTNest APICases · ingestSVCRedisSource readsQUEUEAnalysisFastAPISVCPostgresCases · deploysDATA

A collector posts OTLP JSON. Nest stores the case. Redis queues Sentry, GitHub, and Postgres reads. The worker matches the deploy and ranks a cause from its change titles.

  • Cases open from OTLP errors, deploys, and matching spans
  • A ranked cause the engineer confirms or rejects
  • Read-only Postgres diagnostics, runbooks, and postmortem drafts

04 Engineering challenges

01

Facts stay facts

The first-seen time, the release, and the failing lines stay on the record. A ranked cause is a hypothesis the engineer confirms or rejects.

02

Read-only diagnostics

Postgres connects with a role that can only select. Explain runs on a matching SELECT. A role that can change rows is rejected.

03

One case per log line

A later post of the same line raises the event count and leaves the timeline, the evidence, and any ranked cause already stored.

04

A person sends the message

Slack or Teams gets the fact and the hypothesis only when someone sends the preview. Sending that preview again does not post a second copy.

05 Trade-offs & decisions

Rank from the deployvsA free-form model guess

A cause is chosen only from change titles on the matching deploy, then adjusted when a later case confirms or rejects a shared title.

Redis for source readsvsRead Sentry, GitHub, and Postgres inline

Those reads wait on a queue. Ingest still accepts logs and traces on the request.

Private compose stackvsA shared hosted desk

A company runs Postgres, Redis, the worker, the API, and the desk on its own network. Database ports stay unpublished.