Patinas by RustySockets Documentation Product Search public

Patinas Observability Dashboard (Synthwave)

A single-page dashboard that scrapes Patinas Prometheus /metrics and renders:

Browsers block cross-origin fetch() to /metrics unless the metrics server sets CORS headers (Patinas does not by default).

Best practice is to serve this dashboard from the same host:port as the Patinas metrics HTTP server.

If you already have a way to serve static files from that host, copy these files and browse:

Then keep the default node target as /metrics and enable the extra targets you need.

patinas-node serves this dashboard from the same metrics server at /dash/ to avoid CORS.

Most deployments can now just browse:

patinas-node run --metrics-addr 0.0.0.0:9640

Optional: override dashboard assets from disk (for rapid iteration) using PATINAS_DASH_DIR or --dash-dir:

PATINAS_DASH_DIR=/opt/patinas/dash \
patinas-node run --metrics-addr 0.0.0.0:9640

If you bind to a non-loopback address and require bearer auth:

PATINAS_METRICS_TOKEN="secret" \
patinas-node run --metrics-addr 0.0.0.0:9640 --metrics-token "secret"

Then browse http://<node>:9640/dash/, paste the token into the UI, and click Start.

Notes:

Dev / laptop mode (CORS workaround)

This folder includes an optional tiny proxy server for development:

python3 ./serve_proxy.py --listen 127.0.0.1:7999

Then open http://127.0.0.1:7999/ and set CORS mode to proxy (/proxy?url=…).

Targets / defaults

The dashboard supports scraping multiple endpoints at once:

If your metrics surface requires auth, paste your Bearer token into the UI.

Pinned metrics (used for the “headline” charts)

Hub ingest smoothness:

Transport (selectable by stream_id / component / transport):

Storage/recording (node):