aboutsummaryrefslogtreecommitdiffstats
path: root/docs/operations.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-02 21:37:48 +0100
committertv <tv@krebsco.de>2026-11-02 21:37:48 +0100
commita6a4b846b34b9829b6ed6ead15f13ea00f73c03d (patch)
tree4cc54dc7eb61b638b024bddc29aa0281d05f2167 /docs/operations.md
parentf2b90bbcdb5347bfb68ee0e3343358e2a8e466dc (diff)
api: /stream & dashboard send X-Accel-Buffering
Diffstat (limited to 'docs/operations.md')
-rw-r--r--docs/operations.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/operations.md b/docs/operations.md
index be185f1..7dcdb92 100644
--- a/docs/operations.md
+++ b/docs/operations.md
@@ -125,6 +125,11 @@ location / {
and the node started with `--user-header X-Remote-User`. The names the proxy gives are
the users of `--protocol-writers` and of who wrote what ([`api.md`](api.md)).
+What streams (`/stream`, the dashboard's events) says `X-Accel-Buffering: no`, so nginx
+passes it on as it comes. The dashboard's events have a keepalive every 15 s; `/stream`
+sends nothing while nothing changes, so nginx ends a quiet one after its
+`proxy_read_timeout` (60 s): raise that for it, or have clients reconnect.
+
## What to alert on
From the metrics (`GET /admin/stats` as Prometheus, [`measurements.md`](measurements.md)):