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.
| Tier | Fits | vCPU | Memory | Disk (data) | Database |
|---|---|---|---|---|---|
| Evaluation | one team, a few services, CI only | 2 | 4 GB | 20 GB | bundled container |
| Team | up to ~10 services, ~200k traced requests/day, ≤ 300k lines of source | 4 | 8 GB | 100 GB SSD | bundled container, backups on |
| Enterprise | tens of services, up to ~2M traced requests/day, up to 1M lines of source | 8 | 16 GB | 300–500 GB SSD | external Postgres (see below) |
| Beyond | more than that | split the API from the database host; talk to us about a second API node | external, 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 keptCOVERAGEOPS_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_LIMITandCOVEROPS_INGEST_MAX_INFLIGHT_BYTESin 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 withpodman-composeworks 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
dockergroup, 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
CREATEon 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
| Flow | Direction | Port | Protocol | Required |
|---|---|---|---|---|
| People → dashboard | inbound | 443 (edge) → web 3000 | HTTPS | yes |
| Agents → API | inbound | 443 (edge) → api 4300, or a dedicated API host | HTTPS | yes |
| API → Postgres | internal | 5432 | TCP, TLS recommended | yes |
| Install host → registry | outbound | 443 | HTTPS | at install and upgrade only, or none with a bundle |
| API → identity provider | outbound | 443 | HTTPS | with SSO |
| API → git host (GitHub/GitLab/Bitbucket/Azure DevOps) | outbound | 443 | HTTPS | optional: repository connections |
| API → LLM vendor | outbound | 443 | HTTPS | optional: AI features; off without a key |
| Edge → Let's Encrypt | outbound | 443 | HTTPS | only with TLS_MODE=auto |
| Backup sidecar → object store | outbound | 443/22 | S3/Blob/SFTP | optional: 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:
| Runtime | Minimum | Attach |
|---|---|---|
| Java | 11+ | -javaagent:coverageops-agent.jar |
| Node.js | 18+ | --require @coverageops/node-agent/register or NODE_OPTIONS |
| Python | 3.9+ | one import line |
| .NET | 6+ / Framework 4.7.2 | profiler env vars |
| Go | 1.20+ | one wrap at main |
| PHP | 8.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
dockergroup.