v0.41.3
This commit is contained in:
1 parent
8d15429560
commit
dd9ecc48f1
21 files changed
+828
-141
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ The current bundled `src/admin/openapi.json` declares these operations (among ot
|
||||
| `GET /api/cache/rules/stats` · `GET /api/cache/rules/targets` · `POST /api/cache/rules/test` · `POST /api/cache/rules/import-vcl` | Cache rule match counters, the vhosts a rule can target (ordinary and generated Docker vhosts), simulation of saved or draft rules for a test request/response (also for Docker vhosts), and conversion of a VCL subset into rules (nothing is saved). See [Cache rules](CACHE.md#cache-rules-vcl-style) and the [supported VCL import matrix](VCL.md). |
|
||||
| `GET /api/transform` | Transform observations and resource usage. Supports the lightweight `view=live` polling view. |
|
||||
| `GET /api/logs` · `GET /api/live-logs` | Recent and streaming request logs. |
|
||||
| `GET /api/file-logs` · `GET /api/file-logs/query` | Stored-log exploration. |
|
||||
| `GET /api/file-logs` · `GET /api/file-logs/query` | Stored-log exploration. Source metadata includes `domains` (current configured hostnames/aliases, empty when not applicable); source and group IDs remain stable. |
|
||||
| `GET /api/traffic` · `GET /api/system-info` | Traffic and system observations. Traffic supports the lightweight `view=live` polling view. |
|
||||
| `GET /api/metrics/json` · `GET /api/metrics/summary` | Full JSON snapshot (includes all Prometheus samples and `summary`) or compact computed `summary` only, both pull-only. [Monitoring](MONITORING.md). |
|
||||
| `GET /api/docker` · `POST /api/docker/refresh` | Docker-agent observation and refresh. |
|
||||
|
||||
+9
-1
@@ -48,7 +48,7 @@ After **Unlock layout**, every block shows a compact toolbar: the **⠿** handle
|
||||
|
||||
### Built-in presets
|
||||
|
||||
**Dashboard presets** also offers twelve ready-made layouts (since 0.38.1). They are part of the application, cannot be changed or deleted and do not count towards the 16 saved presets. Loading one shows only its cards in a fixed order and width, hides all other cards, switches back to automatic arrangement and sets the card density and the history length. To keep your adjustments, load a preset, change it, then save it under your own name.
|
||||
**Dashboard presets** also offers eighteen ready-made layouts (six added in 0.41.3). They are part of the application, cannot be changed or deleted and do not count towards the 16 saved presets. Loading one shows only its cards in a fixed order and width, hides all other cards, switches back to automatic arrangement and sets the card density, optional minimum card heights and the history length. To keep your adjustments, load a preset, change it, then save it under your own name.
|
||||
|
||||
Laid out for a Full HD screen (1920×1080, 12-column grid, every row filled):
|
||||
|
||||
@@ -64,6 +64,11 @@ Laid out for a Full HD screen (1920×1080, 12-column grid, every row filled):
|
||||
| Web Server and PHP | status, kind, capacity, methods, error rate, PHP requests; requests, latency, traffic, failures, top services, status trend | 5 min |
|
||||
| TCP/UDP streams | stream overview, sessions, stream backend health, stream traffic; active exchanges, bandwidth; connection charts | 5 min |
|
||||
| Wall display | four large counters, a full-width traffic chart, backend health, latency, cache hit rate; normal density for reading from a distance | 10 min |
|
||||
| Daily operations (compact) | dense traffic and latency overview, backend health, memory breakdown, cache outcomes and HOT/COLD usage, certificate expiry, CPU, process/network diagnostics, backend table; taller traffic chart | 10 min |
|
||||
| Latency and incident triage | traffic and latency trends, queue and capacity, retries, probe latency, 5xx, network errors and timeouts, backend availability and table | 10 min |
|
||||
| Memory pressure and limits | RSS, memory breakdown, CPU, file descriptors, connections, HOT/COLD budgets and queue memory, process and network diagnostics | 10 min |
|
||||
| Delivery efficiency | compare incoming request rate and traffic with backend demand, cache outcomes, latency, compression, transformations and resource use | 10 min |
|
||||
| Docker: two-host comparison | two independently scoped sets of Docker cards, plus proxy health, traffic, latency and backend table; choose the two agents using the card scope selectors | 10 min |
|
||||
|
||||
For phones (on screens up to about 700 px the small counters sit two per row and charts and tables take the full width):
|
||||
|
||||
@@ -71,6 +76,9 @@ For phones (on screens up to about 700 px the small counters sit two per row and
|
||||
|---|---|---|
|
||||
| Phone: status | requests, errors, active exchanges, bandwidth, latency, cache hit rate; backend health; traffic chart | 1 min |
|
||||
| Phone: on call | errors, request error rate, unhealthy backends, certificate expiry; backend errors; compact backend list | 1 min |
|
||||
| Phone: quick diagnostics | requests/s, latency, errors, backend health, memory and certificate expiry; traffic chart, compact backend list and memory breakdown | 2 min |
|
||||
|
||||
History durations assume a one-second sampling interval; the presets select a sample count rather than changing the polling interval. Existing named presets and the factory layout are unchanged. Docker widget scope selections are independent of the layout; for the two-host comparison, select an agent on each card in a set.
|
||||
|
||||
A preset only shows cards that have data on this installation; for example the Docker and Web Server presets stay mostly empty without Docker agents or Web services.
|
||||
|
||||
|
||||
+2
-2
@@ -82,10 +82,10 @@ RustProxy is a single service that combines a reverse proxy, a static/PHP web se
|
||||
|
||||
- Overview dashboard with requests per second, bandwidth, status codes, error share, cache hit ratio, protocol mix, system load, backend health, requests rejected by limits and nearest certificate expiry.
|
||||
- Optional **Memory breakdown** card: process RSS split into cache data, cache bookkeeping, cache buffers, allocator-held free memory, mapped files and the rest of the process, with glibc heap statistics and an "outside cache" trend for spotting leaks.
|
||||
- Customizable dashboard layouts (drag-and-drop with a live drop placeholder, keyboard moves, per-block width, explicit gap filling) and saved presets.
|
||||
- Customizable dashboard layouts (drag-and-drop with a live drop placeholder, keyboard moves, per-block width, explicit gap filling), 18 built-in layouts and up to 16 saved presets per administrator.
|
||||
- Per-Vhost, per-backend, per-Web-Service and per-Stream statistics.
|
||||
- Live request log in the browser and in the terminal (`--livelogs`).
|
||||
- Stored JSON access logs with search syntax, per-Vhost log files and an error log.
|
||||
- Stored JSON access logs with search syntax, per-Vhost log files and an error log; source labels include configured domains and aliases (also Docker-generated sites, redirects and local 404 hosts).
|
||||
- Prometheus exporter with token/CIDR protection, JSON metrics and a compact summary endpoint.
|
||||
- Cache and Traffic scope selectors include Docker-generated Vhosts with readable container/domain/agent labels and a Docker-inventory fingerprint, even when the saved configuration revision is unchanged.
|
||||
- Lightweight revision-aware polling views for Cache, Traffic and Transform keep the administration panel responsive without repeatedly transferring static configuration.
|
||||
|
||||
+2
-2
@@ -22,9 +22,9 @@ Live viewing is **bounded in memory**. Slow consumers may receive a gap/loss ind
|
||||
|
||||
The authenticated **Logs → Stored logs** page reads the configured structured JSON/JSONL access logs, optional per-Vhost files and optional error log. These files can remain readable even when their current writer is disabled. The explorer supports paging, dynamic columns, sorting, record expansion/Raw JSON and repeated-value analysis.
|
||||
|
||||
How to use it (0.41.1):
|
||||
How to use it:
|
||||
|
||||
- **Source** lists one entry per log, grouped as *Vhosts*, *Redirect hosts*, *404 hosts*, *Other traffic* (`_unmatched`), *Shared access log* and *Error log*. A log includes all its rotations.
|
||||
- **Source** lists one entry per log, grouped as *Vhosts*, *Redirect hosts*, *404 hosts*, *Other traffic* (`_unmatched`), *Shared access log* and *Error log*. A log includes all its rotations. Since 0.41.3, per-site sources show the current configured domains in parentheses after the site ID (for example `app (app.example.org, www.example.org) · 2 files · 303 KiB`). This includes Docker assignments and currently discovered label publications, redirects and 404 hosts; aliases and wildcard patterns are shown as configured. Sources with no current domain mapping (including deleted sites and shared logs) keep their existing label. The same domain label appears in the Source column; file IDs, rotation selection and scan limits are unchanged. These are current configuration names, not proof of which domain served an older record.
|
||||
- **File** narrows a log to one file: the current file, `.1`, `.2.gz`, … Rotations are always ordered by their number (newest data first), not by file modification time, so a touched or copied `.10.gz` no longer appears first. Uncompressed rotations (`.1` with logrotate `delaycompress`) are included.
|
||||
- A log is read **newest first**: the current file may use the whole scan budget, and older rotations are read only while budget remains. The status line shows the range of matching records, which files were read and, if older files were left out, how to browse them (choose the file).
|
||||
- **Period** (15 minutes … 7 days) filters by record time and stops before rotations that are entirely older. **Status chips** filter 2xx/3xx/4xx/5xx or protocol errors on the server.
|
||||
|
||||
+2
-2
@@ -46,9 +46,9 @@ Guides for operating RustProxy: installation, publishing services, security, cer
|
||||
|
||||
## Operations
|
||||
|
||||
- [Dashboard](DASHBOARD.md) — Overview cards, layouts, presets and configuration history.
|
||||
- [Dashboard](DASHBOARD.md) — Overview cards, layouts, 18 built-in presets, saved layouts and configuration history.
|
||||
- [Monitoring](MONITORING.md) — Prometheus exporter, JSON metrics, Grafana and Nagios.
|
||||
- [Logs](LOGS.md) — live, stored and error logs.
|
||||
- [Logs](LOGS.md) — live, stored and error logs, per-site domain labels and rotation.
|
||||
- [Backup and recovery](BACKUP.md) — encrypted backups, restore and the Secret Store.
|
||||
- [Migration](MIGRATION.md) — upgrades and Nginx Proxy Manager import.
|
||||
- [Docker discovery](DOCKER_DISCOVERY.md) — Docker agent, generated Vhosts, agent resource limits and process diagnostics.
|
||||
|
||||
Reference in new issue
Block a user