Back to home

TechFuji Agent Installer

Securely connect an environment to the TechFuji platform.

Recommended — one-line install

Runs the installer script and registers the host to the tenant automatically. The token is minted per-host and invalidated after first registration.

curl -fsSL https://platform.techfuji.com/agent/install | sudo bash

Download installer package

Select your target platform to generate a tailored installer script.

Metric ingest notes

  • Network interface counters are emitted one row per interface, with labels.if_name, labels.if_descr and labels.link_speed_bps. Send per-poll throughput, not a counter cumulative since boot.
  • The platform already de-duplicates: within the 2-minute evaluation window only the latest sample per interface is kept before throughput is summed, so polling more often than every 2 minutes is safe and will not double-count. Just keep sending on every scrape.
  • Storage capacity is a registration-time tag (total_capacity_gb) on the asset, not a metric — the agent only needs to report storage.used_pct. Used capacity is derived as used percent × the static tag.
  • Kubernetes clusters register as resource_type = 'kubernetes', not 'cluster' — 'cluster' is reserved for vSphere, and a K8s cluster filed there will not appear on the Kubernetes tab. Add the provider (eks | gke | aks | self-managed) and k8s_version tags at registration.
  • Pod-level rows (k8s.pod_cpu_usage_cores, k8s.pod_mem_bytes, k8s.pod_restart_count) are labelled with namespace, pod and node; the same latest-per-pod de-duplication applies inside the 5-minute namespace window.

Capacity planning — scrape interval is the lever

Each batch costs a fixed number of entity reads against one shared budget: 140 list calls per 60 seconds for the whole app. Ingest runs as a service role, so every agent in every tenant draws from that single budget — size the total fleet, not each tenant in isolation.

Scrape intervalAgent ceiling
15s (agent default)~8 agents
30s~17 agents
60s~35 agents
15s, GPU-heavy fleet~5–6 agents
15s, breach-heavy fleet~4–5 agents
Exceeding the ceiling does not degrade gracefully

Crossing the aggregate ceiling stops the whole platform, not the fleet that crossed it. In the measured 4× case the first batch was served and then every customer received 429 for roughly 44 seconds. Enrollment now refuses any token that would push aggregate demand past 120 list calls per minute, 15% below the hard ceiling, so normal operation should never reach it.

The budget is shared by every customer, not one per customer

The 140 per 60 seconds counter is per app, not per tenant, so all customers draw from the same pool. Measured with separate tenants against this function:

4 + 4 agents, 15s100% served, 91% of budget used
6 + 5 agents, 15sEach tenant lost one scrape in four (75%)
30 + 5 agents, 15sFirst scrape served 100%, then 0% for both for 44s

No tenant gets priority and none is protected: once the total is exceeded, throttling is symmetric and every customer loses scrapes. A large fleet cannot starve a small one preferentially — it simply consumes the same pool first-come-first-served, so the small fleet's scrapes fail because they arrive later. Capacity must therefore be sold in total: 8 agents at 15s, 17 at 30s, or 35 at 60s across all customers combined — not per customer.

Sizing rule
scrape_interval ≈ agents ÷ 0.58
Roughly 1.7 seconds of interval per agent. Round up. Agents here means every agent across every tenant, summed.
up to 8 agents
15s
Default
17 agents
30s
30 agents
60s
Leave room for bursts
70 agents
120s
  • GPU nodes and fault-prone fleets run 5–6 reads per batch instead of 4 — lengthen their interval a further 20–30%, or keep that much headroom in the agent count.
  • Retries have a place in the write path, not here: when the budget is spent, ingest returns 429 with retry_after_ms. Wait exactly that long and resend the same batch. Replays are de-duplicated, so nothing is double-counted; a 429 is a governor, never a fatal error.
  • Bursts count too. Roll agents out in staggered batches — after maintenance, every agent re-checking in at once spends the budget in seconds.

Path off this ceiling: moving deduplication to external PostgreSQL with a unique index removes the read-before-write, taking steady state from 4 list calls per batch to 2 and doubling every ceiling above with no other change. That is the upgrade when this number becomes the sales blocker.

The agent communicates outbound over mutual TLS and does not require inbound firewall rules. All telemetry is scoped to the tenant identifier above.