Requirements and sizing

What to put on the purchase order, and what to ask a customer for. The same numbers apply in a public cloud, a private cloud and on bare metal; only the names of the parts change.

Host

One Docker host runs everything. Size it by how much code the agents watch and how much traffic they trace, not by how many people open the dashboard; the dashboard is cheap, ingest is the work.

TierFitsvCPUMemoryDisk (data)Database
Evaluationone team, a few services, CI only24 GB20 GBbundled container
Teamup to ~10 services, ~200k traced requests/day, ≤ 300k lines of source48 GB100 GB SSDbundled container, backups on
Enterprisetens of services, up to ~2M traced requests/day, up to 1M lines of source816 GB300–500 GB SSDexternal Postgres (see below)
Beyondmore than thatsplit the API from the database host; talk to us about a second API nodeexternal, with read replicas

How the numbers were arrived at, so you can scale them:

  • Source: a million lines is about 16,000 files and 70,000 methods. The symbol index holds one row per method and one per call site; a million lines is a few hundred megabytes in Postgres, indexed once per file version.
  • Traces: every request a traced service answers writes one row per frame (about 0.6 KB each) into call_frames. They are folded into per-day counts as they arrive and the raw rows are kept COVERAGEOPS_TRACE_RETENTION_DAYS (14) for the session views. At 2M requests/day with a few frames each, that is roughly 5–8 GB of raw rows live at any time; the day tables that outlive them are a few tens of megabytes a month.
  • Coverage reports are small (a few MB per upload, compressed in flight) and are kept per run; they are rarely what fills a disk.
  • Memory goes to large coverage reports while they are stored: a 48 MB report (the largest an agent sends) costs the API about 0.55 GB for the 16–19 s it takes. The API is capped at 4 GB with a 3 GB heap and stores at most about three such reports at once (see API_MEMORY_LIMIT and COVEROPS_INGEST_MAX_INFLIGHT_BYTES in operations); on the 4 GB evaluation tier lower both.
  • Session replay and UI coverage are not stored in CoverOps: they are read from ReplayOps over its API (Integrations → ReplayOps) and take no disk here.

Raise the disk before you raise a retention value. SSD matters more than core count: the ingest path is write-heavy and the roll-up reads in batches.

Operating system and runtime

  • Linux x86-64 (Ubuntu 22.04/24.04, RHEL/Rocky 9, Debian 12 are what we test). arm64 images are available on request.
  • Docker Engine 24+ and Docker Compose v2 (docker compose). Podman 4.x with podman-compose works for the three core containers; the TLS and backup profiles are tested on Docker only.
  • The account running the install must be able to talk to the Docker daemon (member of the docker group, or root). Nothing else needs root.
  • Clock synchronised (NTP/chrony). Audit timestamps, TLS and token expiry all depend on it, and SOC 2 reviewers check.
  • Open file limit ≥ 65,536 for the Docker daemon (the default on modern distributions).

Database

The bundled postgres:16-alpine is fine for Evaluation and Team. For Enterprise use an external PostgreSQL 15 or 16:

  • A managed service (Amazon RDS / Aurora PostgreSQL, Azure Database for PostgreSQL Flexible Server, Cloud SQL) or a corporate cluster.
  • One database, one owner role with CREATE on it; the migration creates the schema and needs no superuser.
  • Extensions: none required.
  • Start with 2 vCPU / 8 GB / 100 GB and the provider's point-in-time recovery on. The ingest path is write-heavy; provision IOPS accordingly (3,000+).
  • DATABASE_URL=postgresql://user:password@host:5432/coverops?schema=public&sslmode=require

The API keeps a small connection pool; one API node needs no more than 20 connections.

Network

FlowDirectionPortProtocolRequired
People → dashboardinbound443 (edge) → web 3000HTTPSyes
Agents → APIinbound443 (edge) → api 4300, or a dedicated API hostHTTPSyes
API → Postgresinternal5432TCP, TLS recommendedyes
Install host → registryoutbound443HTTPSat install and upgrade only, or none with a bundle
API → identity provideroutbound443HTTPSwith SSO
API → git host (GitHub/GitLab/Bitbucket/Azure DevOps)outbound443HTTPSoptional: repository connections
API → LLM vendoroutbound443HTTPSoptional: AI features; off without a key
Edge → Let's Encryptoutbound443HTTPSonly with TLS_MODE=auto
Backup sidecar → object storeoutbound443/22S3/Blob/SFTPoptional: off-host copies

Nothing in the product calls CoverOps the company. There is no licence server, no telemetry, no update check.

Browsers

Current Chrome, Edge, Firefox and Safari. The dashboard draws the code graph on WebGL; a browser with hardware acceleration disabled falls back to a slower canvas and says so.

Agents

Each instrumented service needs the agent for its runtime and a route to the API host. Agents are downloaded from your own dashboard (Agents page), so they need no internet. Per runtime:

RuntimeMinimumAttach
Java11+-javaagent:coverageops-agent.jar
Node.js18+--require @coverageops/node-agent/register or NODE_OPTIONS
Python3.9+one import line
.NET6+ / Framework 4.7.2profiler env vars
Go1.20+one wrap at main
PHP8.1+auto_prepend_file

Kubernetes clusters can attach agents by annotation with the auto-attach webhook under deploy/k8s-auto-attach/, with no manifest changes.

What we ask a customer for, in one line per environment

  • Public cloud: a VM (or two) of the tier above, a managed Postgres, a DNS name, a certificate or permission to issue one, an object-store bucket for backups, and the IAM to reach them; see permissions.
  • Private cloud: the same VM, a database (theirs or ours), a DNS record on the internal zone, a certificate from the corporate CA, a path into their registry (or permission to pull from ours through the proxy), and a share or bucket for backups.
  • On-premises / air-gapped: the VM, a way to carry a 1–2 GB bundle in, the DNS record and certificate, and an operator account in the docker group.