Repository navigation
Installation
Homebrew
brew install rajsinghtech/tap/tsflowDocker
docker pull ghcr.io/rajsinghtech/tsflow:v1.7.1Run with Docker:
docker run -d \
--name tsflow \
-p 8080:8080 \
-e TAILSCALE_OAUTH_CLIENT_ID=your-client-id \
-e TAILSCALE_OAUTH_CLIENT_SECRET=your-client-secret \
ghcr.io/rajsinghtech/tsflow:v1.7.1Binary Download
Download the appropriate binary for your platform from the assets below.
Upgrading from 1.7.0 needs no config changes. On the first start after the upgrade, tsflow builds per-minute pair row counters in the background (#514). Everything works while it runs; data range reads just keep scanning node_pairs until it logs Pair row counters ready.
New
- Opt-in Prometheus metrics at
/metricson their own listener withTSFLOW_METRICS_ADDR: poller freshness and errors, ingest, DB size, HTTP and MCP latency (#533) - Opt-in traffic metrics with
TSFLOW_METRICS_TRAFFIC: counters by traffic type and protocol, top-20 tag, user and port breakdowns, and optional top talkers withTSFLOW_METRICS_TOP_TALKERS(#534) - Grafana dashboard for the Prometheus metrics, plus a sidecar ConfigMap and example alert rules in
k8s/monitoring(#536) - Optional display name for each tailnet, shown in the switcher (#488, #487)
- The time bar is a throughput chart in bits per second, with the peak marked (#491)
Faster
- Pair row counts per minute, so the data range skips the full
node_pairsscan (#514) - Overview stats in one pass over the window instead of three SQL scans, with active nodes counted from the same read (#528, #529)
Fixed
- Physical bytes are credited to the node that logged them (#503)
- Bare-number protocol bytes are kept when a poll merges into an old row (#511)
- The poller keeps API poll boundaries on whole seconds and doesn't backfill logs older than retention after an outage (#526, #527)
- Clock ranges roll by calendar day, so DST doesn't shift them an hour (#518)
- Lookback day counts that overflow are rejected (#516)
- The picked tailnet sticks, and switching tailnets keeps the time window (#492, #519)
- Throughput chart spans the whole window, zeroes quiet buckets and gives the last bucket its width (#521)
- The Coverage strip bins by overlap like the main chart (#507)
- Node bandwidth follows the traffic type filter, and the time bar says it doesn't (#513, #522)
- Port Usage shows distinct peers instead of directional rows (#512)
- Stored pairs are labeled unordered instead of source and destination (#515)
- Network Logs label the time column as the window end (#520)
- Policy auto-fit zoom is capped so small policies aren't blown up (#525)
- Icon buttons say what they do (#493)
/mcpreturns JSON-RPC errors when the rate limit or access check rejects a call (#508)- MCP: allowed scope, sort and
trafficTypesvalues are in the schemas, descriptions say where defaults differ from the UI, andtailnetis called an argument (#509, #510, #523) - MCP:
new_connectionsreports lookback coverage,flows_betweenCIDRs match stored subnet hosts, scopedtop_talkersleaves out shared endpoints, and the summed duration can't wrap around (#504, #505, #506, #517) - A warning is logged once when
X-Forwarded-Forcomes from an untrusted peer (#524)
Behavior changes
- The New tab is gone; old
/newlinks open Analytics with the same query string. The new-pairs API and MCPnew_connectionsstay (#530)