Changelog
The latest 20 entries. The full history is in CHANGELOG.md.
[Unreleased]
Added
- SLO burn rate.
GET /api/v1/slo/targets/{id}/burn-rate,paqtra flows burn-rate, MCPpaqtra_slo_burn_rate: multiwindow, multi-burn-rate evaluation (SRE Workbook table 5-8: page at 14.4x over 1h/5m and 6x over 6h/30m, ticket at 1x over 3d/6h) over stored flow history. Windows the store does not reach back over reportinsufficient_history; windows with under 20 judged flows reportinsufficient_data. Notifies only. docs/flow-insights.md - Service edges with golden signals.
GET /api/v1/flows/history/edges,paqtra flows edges, MCPpaqtra_flow_edges: per edge and per service traffic, drop ratio, top Cilium drop reasons and ports at namespace, workload or pod granularity. Output is bounded (50,000 groups read,max_edgeslisted, the rest folded into totals, world endpoints collapsed toexternal). - Hubble metric cardinality advisor.
GET /api/v1/flows/history/cardinality,paqtra flows cardinality, MCPpaqtra_metric_cardinality: series theflowanddrophandlers would have produced for eachlabelsContextchoice, risk against a series budget and the most detailed context that fits. Advisory; changes no Cilium or Hubble setting. - OTLP flow export.
GET /api/v1/flows/history/otlp, MCPpaqtra_flows_otlp: stored flows as an OTLP/JSON logs document with OpenTelemetry network attributes. Malformed addresses and timestamps are dropped or skipped, strings bounded. - MCP:
paqtra_slos(list), and the five tools above; 39 tools become 44, still all read-only. - Flow diff.
GET /api/v1/flows/history/diff,paqtra flows diff, MCPpaqtra_flow_diff: compares a window with a baseline (default: the window of equal length just before) and lists new edges, vanished edges, drop-ratio regressions and 3x traffic-rate changes. Bounded lists with true totals; warns when the baseline predates stored history or a window was truncated. docs/flow-insights.md - Fan-out.
GET /api/v1/flows/history/fanout,paqtra flows fanout, MCPpaqtra_flow_fanout: sources reaching many destinations or many ports on one destination, marked suspect when Cilium dropped most of their flows. Heuristic, notify only. - SLO burn rate: each evaluated tier reports
budget_lasts_hours, how long a full error budget would last at that burn rate. - Drops by cause.
GET /api/v1/flows/history/drops,paqtra flows drops, MCPpaqtra_flow_drops: Cilium drop reasons grouped into policy, datapath capacity (map insertion / NAT failures), invalid packet and routing or Service, with the top edges behind each reason. - Top talkers.
GET /api/v1/flows/history/top,paqtra flows top, MCPpaqtra_flow_top: busiest sources, destinations and ports by flow count (not bytes), bounded, with the rest summed. - Policy audit readiness.
GET /api/v1/flows/history/audit,paqtra flows audit, MCPpaqtra_policy_audit: edges and ports that Cilium policy audit mode flagged as would-be-denied, worst first, for reading before enforcing default deny. Changes no policy. - Drop spikes.
GET /api/v1/flows/history/spikes,paqtra flows spikes, MCPpaqtra_drop_spikes: episodes where drops exceed the window's own median plus scaled MAD. Notifies only. - Handler-level HTTP tests (real route table, query parsing, namespace scoping) for every flow-history view, including the diff and fan-out routes that shipped without them.
- MCP now 50 tools, still all read-only.
docs/RESEARCH.md: comparison with Hubble, Retina, Inspektor Gadget, Beyla, Coroot, Pixie, Kentik and OpenTelemetry conventions, with ranked ideas and rejected ones.
Fixed
paqtra_flow_historyandpaqtra_flow_timelineMCP tools could not passfrom,to,verdict,pod,portorbucket_secs, so an agent could only read the last hour; they now can.- A window value ending in a multi-byte character (for example
3é) panickedslo::window_minuteswhen creating an SLO; it is now rejected with the normal 400.
Changed
-
Dependency refresh (all three lockfiles via
cargo update,web-uiandwebsitevianpm update). Major bumps:kube4.2 to 5.1 andk8s-openapi0.28 to 0.29; thev1_32feature is gone in 0.29, so the binding is nowv1_35(no source changes needed, timestamps were alreadyjiff).axum-server0.8 to 0.9 (no source changes).jsonwebtoken11 to 12:EncodingKey::from_secretandDecodingKey::from_secretnow returnResult; the login, auth middleware and WebSocket paths map a rejected key to a 500 and log it (the 32-byteJWT_SECRETminimum already makes this unreachable in a valid config).rusqlite0.41 to 0.43 (no source changes).@testing-library/jest-dom7 to 8 andjsdom30 to 31.- Node 22 to 24 in CI,
pages.yml,web-ui/DockerfileandDockerfile.combined. sigstore/cosign-installerv3 to v4 (cosign 3;sign-blob --bundleis unchanged, the release path is not exercised until the next tag).- Helm pin 3.16.x to 3.22.1 (CI and
Dockerfile.release; the tag was verified on Docker Hub and GitHub).
-
Held back:
typescript7 (typescript-eslint8.73 throws "does not support TS 7.0", sonpm run lintfails); Helm 4 (chart andhelm pushflow not validated against it);debian:bookworm-slim/rust:bookworm/distroless cc-debian12(still supported, and a Debian 13 move cannot be build-tested without Docker on this host); Terraform providers (aws ~> 5.0,kubernetes ~> 2.25,helm ~> 2.12, EKS module~> 20.0: major bumps need a plan against a real account). All otheruses:pins were already on the latest tag (checkout v7, setup-node v7, upload-artifact v7, download-artifact v8, build-push-action v7, buildx v4, login v4, qemu v4, setup-helm v5, deploy-pages v5, upload-pages-artifact v5, action-gh-release v3, setup-zig v2, kind-action v1, sbom-action v0, trivy-action v0.36.0, rust-cache v2, install-action v2). -
Removed the unused
nixdependency from the CLI crate (cargo reported it unused; nothing imported it). -
Gateway API front door is now Setura Gateway (GatewayClass
setura):docs/envoy-gateway.mdisdocs/setura-gateway.md, and the Envoy Gateway onlygateway.backendTrafficPolicychart value is removed.
[2.2.6] - 2026-11-20
Changed
- Licensed under the Zyvor Production License v1.0 (free for non-production use; a commercial license is required for production). SPDX headers added to every source file.
- Documentation and social cards refreshed.
2.2.5 - 2026-11-16
Fixed
install.shaccepts the renamed GitHub repo's cosign identity. After the move tozyvorai/zyvor-paqtra, releases were signed under that path while the installer still requiredzyvorai/paqtra, so any machine withcosigninstalled rejected every download. The installer now uses the new repo and accepts either identity.- Docs site builds again.
website/src/data/facts.generated.jsonwas swallowed by a rootdata/gitignore, so Pages failed to import it; the file is tracked and the Pages workflow regenerates facts before build.
2.2.4 - 2026-11-16
Fixed
- API no longer hangs at startup on a large flow backlog. Flow-history
retention deleted every expired row in one statement before the server
bound its port, and again after every ingest batch; on a spinning disk a
multi-GB
flows.dbkept the pod unready until the liveness probe killed it. Retention now runs on a background thread, 500 rows per chunk through the time index with a pause between chunks, never on the startup or ingest path. - Flow ingest no longer freezes the API on a slow disk. SQLite inserts ran on the async workers; under a 1-CPU limit tokio has one, so a stalled insert stopped every request and the liveness probe restarted the pod. Inserts now run on the blocking pool.
- Metrics catch-up outpaces collection. The API stores each series' points under one lookup instead of cloning metadata per point, and agent batches carry up to 500k points (metadata is repeated per batch); at ~20k series the old path only kept pace and a backlog never cleared.
- Agent memory. The agent sets
MALLOC_ARENA_MAX=2(glibc per-thread arenas doubled its RSS on a 12-core node) and its default limits are 512Mi and 1 CPU: ~20k series with the hour-long buffer settle near 250Mi and ~300m, and the old 200m limit throttled the sender until it fell behind. - Agent pod list is bounded. The metrics pod index listed every pod ever
scheduled on the node, including evicted ones (12k on one lab node, 150 MB
of JSON), and was OOM-killed. It now skips
Failed/Succeededpods server-side and pages the list 250 pods at a time.
2.2.3 - 2026-10-15
Added
- MCP server and registry listing.
paqtra-mcp(mcp/) is a read-only stdio MCP server with 39 tools over the REST API, shipped asghcr.io/zyvorai/paqtra-mcpand listed in the MCP Registry asio.github.zyvorai/paqtra; the release version gate tiesmcp/Cargo.toml,server.jsonand the image tag toCargo.toml. Seedocs/mcp-integration.md. - Per-second metrics platform. The agent collects host, CPU, memory, PSI,
disk, filesystem, interface, IP/TCP/UDP, conntrack, pod cgroup and
process-group metrics every second, keeps a local replay buffer and streams
gzip batches to
POST /api/v1/agents/metrics, authenticated by a sharedPAQTRA_AGENT_KEY(generated and kept by the Helm chart). The API stores them per node in Gorilla-compressed 1 s / 1 min / 1 h tiers with a disk quota and serves/api/v1/metrics/{nodes,contexts,data,status}plus a one-second WebSocket feed. Collectors are read-only; the process collector readscommonly, nevercmdlineorenviron. Seedocs/metrics.md. - Hubble-derived series. Flows the API already ingests become
hubble.flows,hubble.policy_verdicts,hubble.drop_reasons,hubble.httpandhubble.dnsunder nodehubble. - Anomaly detection. Per-dimension k-means models flag samples on the
agent;
/api/v1/metrics/anomaliesranks nodes and dimensions, and/api/v1/metrics/correlationsranks what changed in a window (Kolmogorov–Smirnov). Seedocs/anomaly-detection.md. - Metric alerts. A Netdata-style rule engine with 45 built-in rules (host,
disk, network, TCP, conntrack, pods, apps, Hubble drops, denials, HTTP 5xx,
DNS errors, anomaly rate), hysteresis, delays, repeat, ack and silences,
delivered through the existing notifier as
metric:<rule>. Alerts never apply policy. Seedocs/metric-alerts.md. - Application collectors. nginx, Apache, HAProxy, Redis, Memcached, Envoy,
CoreDNS, etcd and any Prometheus endpoint, from a static file or pod
annotations (
paqtra.io/app-kind,prometheus.io/scrape) on the agent's node. Credentials come only from env vars named in config. Seedocs/app-collectors.md. - Exporters. Prometheus remote write, OTLP/HTTP and Graphite, with per-series progress so outages are backfilled.
- Console and CLI. Node Metrics, Metric Anomalies and Metric Alerts pages
with live canvas charts, and
paqtra metrics {status,nodes,contexts,query,top,anomalies,alerts}.
Changed
- Helm agent host access. With
agent.metrics.hostAccess(default on) the agent DaemonSet uses the host network and PID namespaces and mounts/read-only at/hostso node metrics describe the host. - web-ui TypeScript pinned back to 5.9. The Dependabot bump to TypeScript
7 broke
npm ci(typescript-eslint peer range), ESLint andtsconfigbaseUrl.
2.2.2 - 2026-09-27
Fixed
- A recent-window flow query no longer scans the namespace index. With no
statistics, SQLite read
idx_flows_pathand sorted the result for any query naming a source and destination namespace, ignoring the time bound: on a 12M-flow store the connectivity monitor's two-minute lookups each hit the 5s read deadline every cycle, holding the read connection and leaving every store-backed endpoint 10-17s slow, andpaqtra connectivity testfailing with a 500. Queries (and their counts and timelines) whose window is at most a day now read through the time index, so cost follows the window, not the filters. - The Overview dashboard's large flow counts no longer wrap mid-number. A local
Metriccomponent formatted big values withtoLocaleString()instead of the already-importedcompact()helper, so an 8-digit flow count (e.g.20,635,325) wrapped across two lines inside its fixed-width tile. It now renders compacted (20.6M), matching every other large figure on the page.
2.2.1 - 2026-09-26
Fixed
- A large flow store no longer stalls the API. On a host with 10.6M stored flows
(4.5 GB), a flows query filtered by namespace made the API stop answering until the
scan finished, minutes later. The flow store's
stats()ran two full-table scans under its single lock on every call, reads shared the ingest connection, and a namespace filter has no usable index. Now:stats()/lag_secs()never wait (last known value when busy; totals by rowid span above 100k rows), reads use a separatequery_onlyconnection so they cannot block ingest, and every read has a deadline (5s,PAQTRA_FLOW_QUERY_TIMEOUT_SECS) after which the API falls back to Hubble. Coverage of the whole store is an index lookup, not a scan. paqtra connectivity testchecks flows through the time-bounded/flows/historyendpoint, which stays cheap however large the store is.
2.2.0 - 2026-09-26
Added
paqtrainstalls itself likecilium-cli. The Helm chart is compiled into the binary (CLI vX installs chart vX and image tags vX); other versions are pulled fromoci://ghcr.io/zyvorai/charts.helmis used from PATH or downloaded once (pinned version, sha256-verified) into~/.paqtra/bin.install/upgrade:--version,-f/--values,--set,--set-string,--set-file,--registry(image mirror),--dry-run(server-side),--atomic,--no-wait,--wait-duration,--list-versions,--with-cilium(installs Cilium + Hubble Relay + metrics when none is running), and prerequisite checks (Kubernetes >= 1.25, Cilium >= 1.14, Hubble + Relay, RBAC, StorageClass).- Global
--context,--kubeconfig,-n/--namespace,--release,--helm-path. statusreads the Kubernetes API (nokubectl), really waits with--wait, and exits non-zero when unhealthy.versioncompares client, release and server.hubble enable|disable|port-forward,ui,config view|get|set,completion bash|zsh|fish|powershell,uninstall --purge.
- Release pipeline: static musl Linux and macOS binaries with
sha256sums.txt, a cosign keyless signature, SBOM and the chart attached to the release; the chart, a multi-arch agent image (previously never published) and apaqtra-cliimage are pushed; a Homebrew formula is rendered.install.shis now a verifying release installer (curl | sh); the build-from-source flow isscripts/dev-install.sh. - Rule-level policy editing:
POST|PUT|DELETE /api/v1/policies/{id}/rulesadd, replace or delete one rule of a CiliumNetworkPolicy through the CRD, withresource_versionconcurrency (409),?dry_run=true, audit entries (policy.rule.*), and the cluster's validation message as a 400.GET /policies/{id}now returnsspec,resource_versionandrule_counts. New Policy Rules page (/policy-rules) with templates for entities, CIDR sets, ICMP, FQDN, DNS and L7 HTTP rules. A policy's last rule cannot be deleted (Cilium rejects rule-less policies). - Alert rule CRUD:
POST /alerts/rules,PUT /alerts/rules/{id}/definition,DELETE /alerts/rules/{id}; conditions are validated against what the engine can evaluate; built-in rules need?force=true. - Cilium Insights (
/cilium-insights) and read-only endpoints:/cilium/features(fromcilium-config),/hubble/nodes(GetNodes, buffer fill),/hubble/metricsand/cilium/metrics(Prometheus),/cilium/resources/{kind}(BGP v2, LB-IPAM, L2, pod IP pools, CIDR groups, Gateway API, ...),/cilium/agent/{what}(allow-listedcilium-dbgqueries). - Flows carry an optional
hubbleobject (identities, labels, direction,policy_match_type, observation point, node); identities are persisted in the flow store. - Chart value
api.env.prometheusUrl(PROMETHEUS_URL); chart and manifest RBAC now grant read access to the Cilium CRDs the views use (nodes, egress gateway, BGP, LB-IPAM, L2, pod IP pools, CIDR groups, Gateway API). - Quiet Hubble follow streams flush every 2s (in addition to the 64-flow batch) so low-volume clusters persist evidence promptly.
GET /api/v1/changes/{id}/impact— before/after flow correlation for Change Log (filters, chart, evidence-backed; gaps →inconclusive; not causation).- Investigation bundle export + time-limited share with redacted incident card:
…/export,…/share,GET …/investigate/share/{token}. - Declared connectivity paths (observe-only): sustained multi-sample alerts,
silence (
POST …/connectivity/alerts/{id}/silence), evidence deep-links. - Flow store ops:
GET /api/v1/flows/store, adminPOST …/purge; gap timeline on Cluster Health. - Overview per-tile 8s timeouts and stale badges.
- CI
RUN_LIVEgates for connectivity, impact, investigate export/share, flows/store.
Changed
GET /flows?verdict=is filtered by Hubble itself, solimitreturns the most recent flows with that verdict rather than the few matches among the last N.- Renamed the invented
cilium.io/canary-*andcilium.io/mtuannotations topaqtra.io/*; Cilium never read them. Docs no longer claim chaos loads eBPF programs. /healthand/readystay cheap via background sampler; cache SQLite I/O usesspawn_blocking; bpftool concurrency capped.- Overview auto-refreshes every 15s;
/ebpf/summarydefaults to counts-only (?detail=fullfor CT dumps);/cluster/healthruns kubectl probes in parallel with a short cache. - Chart API memory defaults: request 512Mi, limit 2Gi (durable flow index
- bpftool inventory need headroom; 512Mi limits were OOM-killing under load).
- Connectivity list stays cheap; per-path status is
GET /api/v1/connectivity/paths/{id}/status. Change-impact / status queries usespawn_blockingso SQLite does not stall the async runtime.
Fixed
/ebpf/dropsand/ebpf/summarycounted forwarded traffic as drops (onlycilium_metricsreasons >= 130 are drops), read four key bytes instead of the reason byte, missed per-CPU values, and used invented reason names; now decoded correctly and named with Hubble'sDropReason.- Five
kubectl exec -l k8s-app=ciliumcalls (invalid) now resolve an agent pod first: ClusterMesh, WireGuard/encryption and NAT/CT counts returned nothing. - Policy rule/apply failures no longer surface as "Internal server error".
2.1.0 - 2026-09-24
Added
- Continuous Hubble follow ingest with disconnect/gap counters, events/sec, and
lag on
/health→subsystems.flow_ingest. - Real DNS L7 fields on flows (query, rcode, answers, latency); DNS UI no longer invents SERVFAIL from policy drops.
POST /api/v1/investigate/flow— why-denied workflow from a selected flow (identities, CNP/CCNP candidates, drop reason, draft allow). Flows UI button on DROPPED rows.
Changed
- Chart default
HUBBLE_MODE=grpc; ingest labelshubble_grpcwhen Observer gRPC produced the data. - Combined image defaults Hubble Relay Service port 80.
- README and product docs updated for gRPC follow ingest, DNS evidence, and deny explanation.