Skip to content
Write to me
The Argus mark, five stars joined into a capital A with a gold star at the top

Argus

Built on my own

Shown with demo data.

Transcript

The film has music and no voice. A small guide star tells the story in speech bubbles, one sentence at a time, in my words. These are the pictures and the words on screen, in order. Every name and number in it is demo data.

A drawn night sky. My apps rise as cards, each on the place it runs: a VM, two clouds and a database host. "I had a lot of small apps, spread over a VM and several clouds."

The camera steps back to my notes of what runs where. "Each place had its own console, so seeing everything meant opening every one."

Two apps move to another cloud, and the notes go out of date and are crossed out. "So I could never tell at a glance what was broken or what had drifted."

The sky dims into fog. "I needed my house rules checked all the time, and every deploy and every log in one place."

The sky gives way to a browser window with the Overview page of Argus. Its needle sweeps in, then the camera moves to the verdict and the star map. "So I built Argus, which reads the real state from the providers and never changes it."

The Map page, then a closer look at one app and the VM it shares. "It starts from each public address and follows it down, so the map draws itself."

One app opens. Its side panel lists its nine parts, from its DNS record down to its repo. "When I open an app, I see every part it runs on, from its DNS record down to its repo."

The Overview scrolls to Needs attention. Two items sit under Unexplained: a hostname with no target, and an origin not matched to any service. "Anything it cannot place is listed under Unexplained, with the reason, so nothing is dropped."

The Rules page. Rule 4 opens: broken, with its offender and what it looked at. "Then it checks 23 house rules on every sweep, and a broken rule names its offender."

The rules for one cloud. A refresh runs, and three of its rules turn to Could not check. One opens: its source timed out after 60 seconds. "If a source does not answer in 60 seconds, its rules say Could not check, never pass."

The Logs page: filters, a search box, a histogram by level, the log lines and Live. "Every app's logs arrive in the same shape, so I search all of them from one page."

Errors is picked and only the error lines stay, then a search for "session". "When I keep only the errors, the histogram shows them before I read a single line."

One log line opens in a details panel. Its message shows "Bearer [redacted]". "Then I open the line that matters, and a credential in it only ever shows as redacted."

The Deploys page, with the last seven days as a strip and the full list from three sources. "Every deploy lands in one list too, with the last seven days drawn as a strip."

A failed deploy opens. Its detail names the job and the step that failed, "Run database migrations", with its branch, commit, who started it and how long it ran. "A failed deploy is marked in rose and never hidden, so I open it and read exactly why it failed."

The Overview's alerts: one for a rule that broke, and one for a health check that recovered. "And when something breaks or recovers, Argus raises an alert, so I never go looking."

The Overview with every rule passing and the words "All quiet over the estate.", then the Argus mark. "Now one place shows me the real state of every project, and when every rule passes, it says: all quiet over the estate."

Read more about Argus

The real, current state of every project.

Read from the providers. Argus maps how each public address reaches its code, checks 23 house rules on every sweep, and keeps every app's logs in one place. It never changes what it maps.

What it is
A private control room for projects spread across several clouds
What it checks
23 house rules, each with its reason, on every sweep
What it shows
The map, the rules, deploys, logs and alerts, in one place
Built with
Node.js, TypeScript, Hono, SQLite, React, Vite, VictoriaLogs and Docker

The map

The map draws itself.

The Map page of Argus on a demo estate, its 20 apps grouped by where they run, on the VM, Cloud A, Cloud B and DNS, each with its address, and app21-cygnus picked out with its link to the shared VM part.
The Map page of Argus on a demo estate, its 20 apps grouped by where they run, on the VM, Cloud A, Cloud B and DNS, each with its address, and app21-cygnus picked out with its link to the shared VM part.
An app's page in Argus, app03-orion, listing its parts in groups, from its DNS record, certificate and proxy site down to its containers, database and code host repo.
An app's page in Argus, app03-orion, listing its parts in groups, from its DNS record, certificate and proxy site down to its containers, database and code host repo.

Argus starts from each public address and follows it down: the edge, the origin, the cloud service or proxy route, the container, the app and its repo. Each part is read from the providers. Anything it cannot place is listed under Unexplained, so nothing is dropped.

  • From the address downEach app's page lists its parts, from the DNS record and the certificate to the container and the repo.
  • Shared partsParts that more than one app relies on are shown on their own.
  • UnexplainedA record it cannot place, such as a hostname with no target, is listed with the reason.
  • An outside probeA small service on another cloud checks what a stranger sees, such as origins that answer without the edge.

Rules

House rules, checked on every sweep.

The Rules page of Argus with the first 14 of its 23 rules and their last 7 days, and rule 4 opened beside them, broken, with its offender named and the four checks it looked at.
The Rules page of Argus with the first 14 of its 23 rules and their last 7 days, and rule 4 opened beside them, broken, with its offender named and the four checks it looked at.

23 house rules run against the map on every sweep, and each one has its reason. A broken rule names each offender and lists what it looked at.

  • The last 7 daysEach rule shows what it says about each of the last 7 days.
  • The verdictThe Overview says "All quiet over the estate." only when every rule passes.
  • Search and filterFind a rule by its name or an offender, and filter the list by status.
  • Ctrl+KJump to any app, part, rule or page, or type "broken" to find what is wrong.
In the sweep in the still above, 22 rules pass and 1 is broken.
  • PassThe rule holds.
  • BrokenEach offender is named, with what the rule looked at.
  • ExceptedAn offender excepted on purpose, with its reason.
  • Could not checkA source the rule needs could not be read.

Could not check

Unknown is never a pass.

The Rules page of Argus after a sweep in which one source did not answer, with three rules marked could not check and one of them opened, its source stale after a timeout of 60 seconds.
The Rules page of Argus after a sweep in which one source did not answer, with three rules marked could not check and one of them opened, its source stale after a timeout of 60 seconds.

Each source gets 60 seconds. A source that does not answer keeps its last good data and is marked stale. The rules that need it turn to Could not check, and they are never counted as a pass.

  • Stale, with the reasonThe Overview lists a stale source with its reason, such as a timeout after 60 seconds.
  • Counted on its ownCould not check has its own count, beside pass and broken.
  • Drawn apartOn the chart, an app that could not be fully checked is drawn with dashed lines.
One source did not answer, so 19 rules pass, 1 is broken and 3 could not be checked.
  • Could not checkNever counted as a pass.

Deploys

Every deploy in one list.

The Deploys page of Argus, its 30 deploys all from the code host, narrowed by Failed to the one that failed, app12-lyra's, with the strip for the last 7 days showing only that one.
The Deploys page of Argus, its 30 deploys all from the code host, narrowed by Failed to the one that failed, app12-lyra's, with the strip for the last 7 days showing only that one.

Recent deploys are in one list, and a failed one is marked. They come from the build service, the edge builds and the code host, and a strip of diamonds draws the last 7 days.

  • Never hiddenA failed deploy stays on the strip and in the list, marked in rose.
  • One day at a timePick a day on the strip to see only that day's deploys.
  • FailingAn app whose latest deploys failed shows its run of failures under Failing.
  • DeployA gold diamond on the time axis.
  • Failed deployThe same diamond in rose.

Logs

Every app's logs in one place.

The Logs page of Argus searching for "session", with a histogram by level and log lines from several apps, one of them showing a bearer token as [redacted].
The Logs page of Argus searching for "session", with a histogram by level and log lines from several apps, one of them showing a bearer token as [redacted].

Every app's logs arrive in one shape, with credentials redacted.

  • LogsSearch, filters, a histogram by level and a live tail.
  • Secret names, never valuesA part's page lists its settings and its secret names. Secret values are never shown.
  • The archiveLogs are kept for 6 months, with a size cap that deletes the oldest data first.

Alerts

An alert when it breaks, and when it recovers.

The Alerts list of Argus, the last 20 sent with the newest first, showing rule 4 broken, a health check recovered after breaking earlier, and a renewal, each with its time.

An alert goes out when a rule breaks and again when it recovers. The Overview lists the last 20 sent, newest first.

  • RulesA rule that breaks, and its recovery.
  • SourcesA source that fails 2 sweeps in a row, and its recovery.
  • Health checksA probe or health check that fails, and its recovery.
  • CertificatesA certificate or credential within 21 days of expiry, and its renewal.

How it is built

Read-only by design.

Argus reads from the providers and never writes to one, except its own log archive. It never changes what it maps.

  • ServerNode.js, TypeScript and Hono.
  • StoreSQLite.
  • InterfaceReact and Vite.
  • LogsVictoriaLogs.
  • Runs inDocker.
The Argus mark, five stars joined into a capital A with a gold star at the topArgus

What comes next

The real, current state of every project.

Next project

Reelhouse

Built on my own

My own streaming service for a home video library. It finds the skip-intro moment by itself, by listening to the audio.

36%smaller at 1080p, one real episode