Skip to main content

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, MCP paqtra_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 report insufficient_history; windows with under 20 judged flows report insufficient_data. Notifies only. docs/flow-insights.md
  • Service edges with golden signals. GET /api/v1/flows/history/edges, paqtra flows edges, MCP paqtra_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_edges listed, the rest folded into totals, world endpoints collapsed to external).
  • Hubble metric cardinality advisor. GET /api/v1/flows/history/cardinality, paqtra flows cardinality, MCP paqtra_metric_cardinality: series the flow and drop handlers would have produced for each labelsContext choice, 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, MCP paqtra_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, MCP paqtra_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, MCP paqtra_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, MCP paqtra_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, MCP paqtra_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, MCP paqtra_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, MCP paqtra_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_history and paqtra_flow_timeline MCP tools could not pass from, to, verdict, pod, port or bucket_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é) panicked slo::window_minutes when creating an SLO; it is now rejected with the normal 400.

Changed​

  • Dependency refresh (all three lockfiles via cargo update, web-ui and website via npm update). Major bumps:

    • kube 4.2 to 5.1 and k8s-openapi 0.28 to 0.29; the v1_32 feature is gone in 0.29, so the binding is now v1_35 (no source changes needed, timestamps were already jiff).
    • axum-server 0.8 to 0.9 (no source changes).
    • jsonwebtoken 11 to 12: EncodingKey::from_secret and DecodingKey::from_secret now return Result; the login, auth middleware and WebSocket paths map a rejected key to a 500 and log it (the 32-byte JWT_SECRET minimum already makes this unreachable in a valid config).
    • rusqlite 0.41 to 0.43 (no source changes).
    • @testing-library/jest-dom 7 to 8 and jsdom 30 to 31.
    • Node 22 to 24 in CI, pages.yml, web-ui/Dockerfile and Dockerfile.combined.
    • sigstore/cosign-installer v3 to v4 (cosign 3; sign-blob --bundle is 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: typescript 7 (typescript-eslint 8.73 throws "does not support TS 7.0", so npm run lint fails); Helm 4 (chart and helm push flow 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 other uses: 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 nix dependency from the CLI crate (cargo reported it unused; nothing imported it).

  • Gateway API front door is now Setura Gateway (GatewayClass setura): docs/envoy-gateway.md is docs/setura-gateway.md, and the Envoy Gateway only gateway.backendTrafficPolicy chart 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.sh accepts the renamed GitHub repo's cosign identity. After the move to zyvorai/zyvor-paqtra, releases were signed under that path while the installer still required zyvorai/paqtra, so any machine with cosign installed rejected every download. The installer now uses the new repo and accepts either identity.
  • Docs site builds again. website/src/data/facts.generated.json was swallowed by a root data/ 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.db kept 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/Succeeded pods 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 as ghcr.io/zyvorai/paqtra-mcp and listed in the MCP Registry as io.github.zyvorai/paqtra; the release version gate ties mcp/Cargo.toml, server.json and the image tag to Cargo.toml. See docs/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 shared PAQTRA_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 reads comm only, never cmdline or environ. See docs/metrics.md.
  • Hubble-derived series. Flows the API already ingests become hubble.flows, hubble.policy_verdicts, hubble.drop_reasons, hubble.http and hubble.dns under node hubble.
  • Anomaly detection. Per-dimension k-means models flag samples on the agent; /api/v1/metrics/anomalies ranks nodes and dimensions, and /api/v1/metrics/correlations ranks what changed in a window (Kolmogorov–Smirnov). See docs/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. See docs/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. See docs/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 /host so 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 and tsconfig baseUrl.

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_path and 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, and paqtra connectivity test failing 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 Metric component formatted big values with toLocaleString() instead of the already-imported compact() 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 separate query_only connection 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 test checks flows through the time-bounded /flows/history endpoint, which stays cheap however large the store is.

2.2.0 - 2026-09-26​

Added​

  • paqtra installs itself like cilium-cli. The Helm chart is compiled into the binary (CLI vX installs chart vX and image tags vX); other versions are pulled from oci://ghcr.io/zyvorai/charts. helm is 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.
    • status reads the Kubernetes API (no kubectl), really waits with --wait, and exits non-zero when unhealthy. version compares 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 a paqtra-cli image are pushed; a Homebrew formula is rendered. install.sh is now a verifying release installer (curl | sh); the build-from-source flow is scripts/dev-install.sh.
  • Rule-level policy editing: POST|PUT|DELETE /api/v1/policies/{id}/rules add, replace or delete one rule of a CiliumNetworkPolicy through the CRD, with resource_version concurrency (409), ?dry_run=true, audit entries (policy.rule.*), and the cluster's validation message as a 400. GET /policies/{id} now returns spec, resource_version and rule_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 (from cilium-config), /hubble/nodes (GetNodes, buffer fill), /hubble/metrics and /cilium/metrics (Prometheus), /cilium/resources/{kind} (BGP v2, LB-IPAM, L2, pod IP pools, CIDR groups, Gateway API, ...), /cilium/agent/{what} (allow-listed cilium-dbg queries).
  • Flows carry an optional hubble object (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, admin POST …/purge; gap timeline on Cluster Health.
  • Overview per-tile 8s timeouts and stale badges.
  • CI RUN_LIVE gates for connectivity, impact, investigate export/share, flows/store.

Changed​

  • GET /flows?verdict= is filtered by Hubble itself, so limit returns the most recent flows with that verdict rather than the few matches among the last N.
  • Renamed the invented cilium.io/canary-* and cilium.io/mtu annotations to paqtra.io/*; Cilium never read them. Docs no longer claim chaos loads eBPF programs.
  • /health and /ready stay cheap via background sampler; cache SQLite I/O uses spawn_blocking; bpftool concurrency capped.
  • Overview auto-refreshes every 15s; /ebpf/summary defaults to counts-only (?detail=full for CT dumps); /cluster/health runs 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 use spawn_blocking so SQLite does not stall the async runtime.

Fixed​

  • /ebpf/drops and /ebpf/summary counted forwarded traffic as drops (only cilium_metrics reasons >= 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's DropReason.
  • Five kubectl exec -l k8s-app=cilium calls (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 labels hubble_grpc when 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.