Servers and the server selector

On this page

The server selector

Multi server observability is BoxLang+. The Free version shows one server only: this one. Free has no selector, the fleet on the Overview shows this server in full (the others it finds in the store folder are only counted and blurred behind an upgrade card), and the server answers 403 for the pages of another server.

With BoxLang+ the header of the console has a Server selector. It switches the pages that read saved data between this server, another server and all servers.

Servers that share a store folder (a network volume, for example) each write their own subfolder. How to set that up, who sends the alerts and what to watch on NFS or SMB is in Several servers. The selector lists the servers it finds there:

StateMeaning
liveThis server. Its numbers come from memory.
savedAnother server that wrote in the last two minutes.
behindAnother server that wrote in the last 24 hours, but not lately.
staleNo write for more than a day. It is shown dimmed, cannot be chosen, and is left out of All servers.

All servers appears when at least two servers are not stale.

Which pages follow the selector

PageAnother serverAll servers
HTTPIts saved rollups and callsRollups added up. The p95 is read from the merged latency histogram, so it is a real p95 and not an average of p95s.
ReportsThe same page as the live one, from the totals it saved: requests, errors, slow requests, queries, exceptions, status codes, p50 / p95 / p99, busiest, slowest and failing URLs, and the minute seriesThe totals added up, latency counts merged into one real p95, with a table by server
ErrorsIts saved issues, with eventsIssues with one fingerprint merged: counts, the daily counts and tags added, first and last seen, the servers that saw it, newest events. The status is the worst of the servers (regressed, unresolved, ignored only when every server ignores it, resolved), and the page is read only
Mail, ORM, QueriesThe same page from the snapshot of that server: the Mail overview (1h and 24h), servers, queue and settings (no message: the sent messages and the messages waiting in the spool or bounced stay on the server that holds them, with their addresses, subjects and errors; the queue shows the counts); the ORM totals and statistics; the query statisticsNot offered. Pick one server. Messages stay on the server that sent them.
System, JVM, Executors, Tasks, Datasources, Caches, Requests, In flightThe same page, from the health snapshot that server saves every minute: heap, CPU, threads, volumes, pools, tasks, caches and its latest requestsNot offered. Pick one server.

On the Requests page the selector also has All servers, which lists the saved requests of every server together with this one. Pages of another server are read only and say the totals were saved, not live. Reset and Clear act on this server only. Every other page shows this server only. The selector does not change what an action does: actions, downloads and settings always act on this server.

The health snapshot

Every server saves one small document a minute (health) with what the live pages show: system, executors, tasks, datasources, caches, the latest 50 requests and what is in flight (with the newest 20 queries of each running request). It holds no request bodies, cache values or log lines. A page for another server shows a banner ("You are looking at web-b, saved 40 seconds ago. This page is read only") and every call the page makes says which server it shows, so an action such as pause a task, clear a cache or run GC can never run on this server by mistake: the server answers 403.

The Overview shows the fleet: a table or cards with the state of each server, why, its versions and links to its pages. Click a server, or one of its links, to open that page for it. Without BoxLang+ the fleet shows this server only.

Threads, Logs, Environment and Configuration are not copied between servers (they are large and sensitive). Open the console of that server for them.

What to know

  • Other servers' numbers are read from the files they wrote, so they can be about 30 seconds behind. A page says when it shows saved data.
  • The selector reads files. It never connects to another server.
  • The viewer role can use it, like the pages it switches.
  • Your choice is kept for the browser session.
  • Without BoxLang+ there is no selector, and the server answers 403 for another server.

This selector only reads what the servers of one store folder saved.

Edit this page Download Markdown Last updated Nov 26, 2026, 8:34:30 AM Report an issue