Customer onboarding checklist for PanDev Metrics on-prem
TL;DR. This is the handover checklist for a new on-prem customer: from a clean Linux VM to a production installation with HTTPS on the backend, connected Git and task-tracker integrations, users with roles, and IDE plugins sending data. Work through it top to bottom. Phases 1, 3, 4, 5 and 6 are hard gates — do not start the developer rollout until every item in Acceptance and handover is checked. Audience: implementation engineer and customer administrator.
How to use this checklist
- One owner per phase. The customer's infrastructure admin owns phases 1–3, the customer's PanDev administrator owns 4–8, and the implementation engineer reviews every gate.
- Docker Compose is the default path. For Kubernetes, only phase 2 changes; the same gates apply. See Install with Helm.
- Do not skip phase 0. Missing hostnames, certificates, or provider admin access is the most common reason onboarding slips.
- Effort: roughly 1–2 hours for phases 1–4, 1–2 hours for integrations plus backfill, and ~10 minutes per developer for plugins. Backfills and the nightly refresh run in the background.
- BLOCKER marks an item that must be true before moving to the next phase.
- Two different SSL settings exist. Public TLS at the reverse proxy is mandatory (phase 3). Settings → SSL controls validation of outbound connections to Git and task trackers (phase 6) — keep it enabled unless there is a documented private-CA exception.
Phase 0 — Inputs and decisions
- License key (or trial key) and the distribution archive are on hand — request them from your account manager.
- The customer accepts the on-prem constraints: one organization per installation, no air-gapped mode, and LDAP / AD as the only SSO (no SAML, OIDC, or Google sign-in).
- Deployment path chosen: Docker Compose (default, single VM) or Helm / Kubernetes 1.28+.
- Public hostnames reserved and approved, for example
app.example.comfor the UI andmetrics.example.comfor the API. The API name becomesAPI_BASE_URL; changing it after the first start requires recreating the workspace. - Authentication path chosen: LDAP / AD (recommended for staff) or manual accounts (contractors, small teams). The two can be mixed.
- Git provider and task tracker identified, each with an owner who has administrator rights in that system.
- Maintenance window, backup policy with RPO/RTO targets, and the customer's on-call contact agreed.
- The customer's network team confirms outbound 443 and inbound webhook reachability (phases 1 and 6).
- The customer accepts that the backend runs as a single instance — horizontal scaling is not part of the on-prem distribution.
Phase 1 — VM, OS, and network (BLOCKER)
Minimum VM sizing
Size by organization size. The bundled stack is tuned to the Small profile, which fits most installs.
| Profile | vCPU | RAM | Disk | Notes |
|---|---|---|---|---|
| Pilot / XS — up to ~10 engineers | 4 | 12 GB | 50 GB SSD | Minimum for a pilot; not a long-term production baseline |
| Small — up to ~50 engineers | 8 | 20 GB | 100 GB SSD | Recommended default for a first production rollout |
| Medium — 50–200 engineers | 12 | 40 GB | 100–250 GB SSD | Move PostgreSQL to its own host from this size |
| Large — 200+ engineers | 20 | 72 GB | 500 GB+ NVMe | PostgreSQL on a dedicated host or managed service |
These figures are the sum of the application and PostgreSQL columns for a single-host Docker Compose install. PostgreSQL carries the analytical workload; RAM and SSD/NVMe are the real sizing levers, not core count. The nightly materialized-view refresh is mostly single-stream and is bound by per-core speed and disk speed — extra slow vCPUs do not shorten it.
Checklist
- The VM meets the chosen profile, and the disk is SSD/NVMe, not network-attached spinning storage.
- Linux x86_64 or arm64 is used. Windows Server is not supported. Tested: Ubuntu Server 22.04/24.04, Debian 11/12, RHEL / Rocky / AlmaLinux 8/9, SLES 15 SP4+.
- On x86_64, the host and hypervisor expose AVX2, FMA, BMI2, SSE4.2, AVX and the rest of the GraalVM baseline. Verify with:
lscpu | grep -E "avx|avx2|fma|sse4"
- The hypervisor passes the host CPU through: Proxmox
cpu: host, VMware CPU passthrough / compatibility 7.0+, Hyper-V generation 2 with CPU compatibility mode off, KVM-cpu host. Without this the backend exits withIllegal instruction. - Docker Engine ≥ 20.10 and Docker Compose ≥ v2.0 are installed (v2.20+ recommended). Verify with
docker --versionanddocker compose version. - Public inbound is TCP 443 only to the reverse proxy.
8080(API) and8090(UI) are reachable only from the proxy or bound to localhost.5432(PostgreSQL) is bound to localhost or firewalled off.9090(actuator) is never published. - Outbound TCP 443 is open to the PanDev license server, the Git provider, the task tracker, and the LDAP/AD server (if used). If a corporate proxy is required, plan
HTTPS_PROXYandNO_PROXYfor the backend. - DNS A/AAAA records for both hostnames resolve from developer machines, IDE hosts, and the providers that will deliver webhooks.
- A TLS certificate covers both hostnames (SAN or wildcard), includes the full chain, and is trusted by browsers and IDE hosts. Certificate expiry is in the customer's monitoring.
- NTP / time sync is enabled and the system time is correct. License validation, webhook handling, and logs depend on it.
- A backup target exists for PostgreSQL, and disk-space alerts are configured. Raw events are retained indefinitely, so the database grows with history.
A 2 vCPU / 4 GB VM may boot the stack, but dashboards and the nightly refresh will be slow. Do not hand over a production installation below the Pilot / XS profile.
Phase 2 — First installation
Docker Compose (default)
- A working directory exists and is owned by the deployment user:
sudo mkdir -p /opt/pandevsudo chown "$USER":"$USER" /opt/pandevcd /opt/pandevunzip /tmp/pandev-metrics-distribution.zip -d .
- The archive contains
docker-compose/andhelm-chart/. PostgreSQL is bundled; do not install it separately. -
docker-compose/.envis edited with production values:POSTGRES_DB=pandev_metricsPOSTGRES_USER=pandevPOSTGRES_PASSWORD=<strong, unique password>API_BASE_URL=https://metrics.example.com -
API_BASE_URLis the public API hostname — notlocalhost, not127.0.0.1, not a Docker service name, and with no trailing slash. -
chmod 600 .envis applied, and the file is stored in the customer's secret manager and excluded from version control. - On arm64, the
-armimage tags are selected indocker-compose.yml. On x86_64, the default tags are left unchanged. - The stack starts:
docker compose pulldocker compose up -d
- The first start is complete:
docker compose logs -f pandev-metrics-servershows Flyway migrations followed by the startup banner. Allow 1–3 minutes. -
docker compose psshowspandev-metrics-serverUp,pandev-metrics-workspaceUp, andpostgresUp (healthy). -
POSTGRES_PASSWORDwas set before the first start. Changing it after the database volume is initialized causespassword authentication failed; recovery means restoring the old value or recreating the volume with data loss. - The PostgreSQL port is not exposed to the public network.
Helm / Kubernetes alternative
-
values.yamlsetsserverUrl(public API),workspaceUrl(public UI),ingress.enabled, andingress.className. -
postgresql.auth.passwordis set to a strong value; persistence is enabled (default 100Gi) andpostgresql.primary.persistence.storageClassis pinned if the cluster has no default StorageClass. - The release is installed and
kubectl get pods -n metricsshows every pod Ready; the PostgreSQL PVC is Bound. - Backend and workspace images use the correct architecture tags (
-armon arm64 nodes). - (Optional) An external PostgreSQL 16/17 is configured through
externalDatabase.*; no Redis or other external cache is required.
Phase 3 — Backend HTTPS / TLS (BLOCKER, mandatory for the backend)
The backend is the trust boundary for IDE plugins, browser extensions, webhooks, and integration credentials. Do not hand over an installation whose public API is plain HTTP or a self-signed certificate on a public hostname. The stack can run over HTTP in a lab, but a customer production handover requires HTTPS.
- A reverse proxy (Nginx, Traefik, or the Ingress controller) terminates TLS on 443 for both names.
- The UI host routes to
http://127.0.0.1:8090; the API host routes tohttp://127.0.0.1:8080. -
API_BASE_URLexactly matches the public API URL (https://metrics.example.com), with no trailing slash. - The certificate chain is complete and trusted by browsers and IDE hosts. Verify without
-k:curl -I https://metrics.example.comcurl -I https://app.example.com - Port 80 redirects to HTTPS. HSTS is optional and is applied only after the customer's security review.
- The firewall exposes only 443;
8080and8090are reachable only from the proxy;5432and9090are closed externally. - Proxy headers are set:
Host,X-Real-IP,X-Forwarded-For,X-Forwarded-Proto,X-Forwarded-Host. Setclient_max_body_size 50mand raiseproxy_read_timeoutabove 60 seconds for long-lived UI connections. - If
API_BASE_URLchanged after the workspace started, it is recreated — the value is baked into the UI at startup:docker compose up -d --force-recreate pandev-metrics-workspace - Settings → SSL keeps outbound certificate validation enabled. It is disabled only for a documented exception where an internal Git or Jira instance uses a private CA that is not in the truststore. Disabling validation does not disable encryption.
- If LDAPS is used, the directory certificate is trusted by the backend (CA imported) or TLS is terminated in front of the directory. Plain LDAP on 389 is used only inside a trusted network and is not recommended.
- Webhook reachability is verified from outside the customer network:
The result must be an HTTP status (4xx is expected for a GET), not a connection error.curl -sS -o /dev/null -w "%{http_code}\n" \https://metrics.example.com/v1/github/webhook/pull-request
- Security review passed: TLS 1.2+, no public
8080/8090/5432/9090, no self-signed certificate on a public name, and secrets only in.envor the secret manager.
A ready-to-use Nginx configuration is in Installation → Step 6. Keep the same shape if you use Traefik or an Ingress.
Phase 4 — License activation and first login (BLOCKER)
- The backend can reach the PanDev license server on TCP 443. License activation is the only connection to PanDev infrastructure and is required before any integration.
-
https://app.example.comopens the activation form. - The license key is pasted, and the first administrator email and a strong password are created. There are no default credentials.
- The administrator password is stored in the customer's password manager. There is no self-service recovery before LDAP or SMTP is configured.
- The administrator can sign in, the dashboard loads, and Settings → Integrations is visible.
- A second Owner or Maintainer account exists before the primary administrator's email is changed, to avoid lockout.
- Settings → Mail is configured and tested if the customer expects password recovery or system notifications. On-prem does not send system email without SMTP.
- License expiry, the user cap, and the renewal owner are recorded in the handover runbook.
- If staging and production both exist, each instance has its own activation — confirm the licensing arrangement with PanDev.
Phase 5 — Users, roles, and organization (BLOCKER before rollout)
- The authentication path is implemented:
- LDAP / AD: Settings → Basic settings → Ldap; set the URL (
ldaps://ldap.example.com:636), search base, search attribute (sAMAccountName,mail, oruid), bind DN, and password; select Test connection and save. - Manual accounts: Organization → Employees → Create employee; set first name, last name, email, and initial password; share the credentials securely.
- LDAP / AD: Settings → Basic settings → Ldap; set the URL (
- A first LDAP sign-in creates the user record automatically. An administrator then assigns a role — LDAP groups are not synced, so department and team membership is managed in PanDev Metrics.
- Every active user has a tenant role with least privilege: Viewer (read-only), Maintainer (integrations and data operations), Owner (full control). A user without a role sees an empty dashboard.
- Department roles are assigned where needed: Department Owner / Maintainer / Viewer. A user without department membership sees only tenant-level dashboards.
- The Financier flag is granted only to HR or finance staff who may see salaries and cost reports.
- Departments and teams are created to mirror the customer's structure; at least one department and one team exist for the pilot.
- The company working calendar and working hours are configured in Settings → Calendar. Personal schedules override the company calendar where they differ; this drives overtime and utilization calculations.
- The license user cap is checked. Contractors and non-LDAP staff are created manually.
- The leaver process is agreed: accounts are archived, not hard-deleted, so historical metrics survive. Ownership transfer is planned for the primary Owner.
- The customer understands there is no self-signup, no Google sign-in, and no SAML/OIDC. Service accounts are regular users with the minimum role.
Phase 6 — Integrations (BLOCKER for real metrics)
Integrations are bidirectional: the backend calls the provider (outbound 443), and the provider posts webhooks to the backend's public HTTPS URL (inbound). Without inbound reachability, data arrives only from the periodic backfill, not in real time.
6.1 Git provider
- The provider is chosen and an integration owner with administrator rights is identified: GitHub, GitLab (Cloud or Self-Managed), Bitbucket (Cloud, Server, or Data Center), or Azure DevOps.
- A service account or GitHub App is used instead of a personal account where possible.
- GitHub App: installed on the organization, repositories selected, permissions Contents: read, Pull requests: read/write, Metadata: read. On-prem needs
GITHUB_APP_NAME,GITHUB_APP_ID, andGITHUB_PRIVATE_KEY_BASE_64on the backend container. - GitLab / Bitbucket / Azure DevOps: base URL, token or app credentials, and project/repository selection are set per the provider guide.
- Settings → Integrations → GitHub / GitLab / etc. → Test connection passes → repositories are selected → Save.
- The initial backfill has completed (30 days for GitHub; check the provider guide for others). The Connected badge is green and Last sync is recent.
- Webhook deliveries show HTTP 200 in the provider (for GitHub: repository Settings → Webhooks).
401or403means re-install or re-authorize the app. - Commits and pull/merge requests appear on a Git or DORA dashboard after the backfill. DORA aggregates may wait for the next scheduled recomputation.
6.2 Task tracker
- The tracker is chosen: Jira (Cloud, Server, or Data Center), Yandex Tracker, ClickUp, Azure Boards, or Notion if it is enabled in the license.
- The integration service account has administrator rights where required (Jira needs them to create webhooks) and access to every project that will be synced.
- The token is created: Jira Cloud API token (email + token) or a Jira Server/Data Center Personal Access Token. The base URL is reachable from the backend.
- Settings → Integrations → the tracker → Test connection passes; projects are selected; JQL, worklog mode, and history backfill are configured.
- Worklog mode is chosen deliberately:
read-onlyfor the first rollout,automaticonly after the customer accepts IDE time being written back to the tracker. Avoid double-writing with Tempo or a similar plugin. - Webhooks are registered and reachable. For Jira these are
/v1/jira-worklogand/v1/issue/**; verify an HTTP response (not a connection error) from the provider's network. - Issue statuses, transitions, and worklogs appear next to commits, and issue keys in branch names or commits (for example
PDM-123) are linked. - The initial backfill has finished (Jira defaults to 90 days), and Last sync is recent.
6.3 Shared integration gates
- The webhook URL is the public HTTPS API URL. Cloud providers reach it from the internet; self-managed providers reach it through the customer's routing.
- Azure DevOps — both Services and Server — is reachable in both directions. Missing inbound reachability means no real-time sync.
- Settings → SSL validation is enabled unless a documented private-CA exception exists, and the CA is imported into the host truststore where possible.
- Integration credentials are stored in the customer's secret manager with an owner and a rotation date.
- A real event was tested end to end: a commit or pull request arrived through a webhook and appears on a dashboard; an issue transition or worklog arrived from the tracker.
- Data quality was reviewed with the customer: repositories and projects are scoped deliberately, and excluded repos are documented.
Phase 7 — Plugins on developer machines (rollout)
Plugins are installed by each developer, not by the administrator. Every user authenticates with a personal token — never distribute one token to the team.
- The administrator sends a short onboarding note with the workspace URL (
https://app.example.com), the Settings → Plugins path, the token instruction, supported IDEs, and a support contact. - Each developer signs in to the web app, opens Settings → Plugins, selects their IDE, and copies the
pandev_...token from the Enter your token step. - The plugin is installed from the correct channel:
- JetBrains IDEs (all 10): Settings → Plugins → Marketplace → PanDev Metrics.
- VS Code, Cursor, Windsurf: VS Code Marketplace. Cursor and Windsurf reuse the VS Code plugin.
- Visual Studio: Visual Studio Marketplace.
- Xcode: DMG from the PanDev distribution.
- Eclipse: manual package from the administrator.
- DBeaver: Help → Check for Updates from the PanDev p2 update site.
- The token is pasted into the plugin. No Server URL is typed — the host is encoded in the token. The same token covers the IDE plugin, browser extension, and CLI for that user.
- On a private CA or self-signed certificate, the CA is installed in the OS/IDE truststore where possible. The plugin's disable SSL validation option is used only with documented approval; it is separate from Settings → SSL.
- (Optional) The browser extension is installed from the Chrome Web Store or Firefox Add-ons, and the same token is pasted. The organization whitelist is configured in Settings → Browser Settings.
- (Optional) The CLI is installed on macOS, Linux, or Windows and signed in with the same token.
- Verification: the developer edits a file, waits 2–5 minutes, opens their profile → today, and sees activity. The developer appears in Organization → Employees.
- Auto-update is enabled, and offline buffering is explained: events are queued locally and replayed when connectivity returns.
- Token lifecycle is explained: Rotate and Revoke in Settings → Plugins; after rotation, the token must be re-pasted everywhere.
- The privacy briefing is delivered: file names, branch switches, project names, activity events, and AI prompts are collected; source code, screenshots, keystrokes, and clipboard content are never captured.
Phase 8 — Acceptance and handover
Run this after every phase and again 24–48 hours later, when backfills and the nightly refresh have completed.
- All containers or pods are healthy after a restart (
docker compose psorkubectl get pods -n metrics). - The UI and API are HTTPS-only from outside; the certificate chain is valid;
8080,8090,5432, and9090are not publicly reachable. - The first administrator and a second administrator can sign in; roles are assigned; no active user has an empty role.
- LDAP or manual users can sign in with their real accounts.
- At least one Git integration is green; a webhook has been delivered with HTTP 200; the backfill is complete.
- At least one task tracker is green; statuses and worklogs flow; the worklog mode is documented.
- At least one plugin per IDE family in use is sending events, and the developer is visible in Employees.
- Dashboards show non-zero data: IDE hours within minutes, Git data after the backfill, DORA after the next recomputation.
- Backups are configured and a restore has been tested on a test host. After a restore,
select matviewname from pg_matviews where not ispopulated;returns 0 rows; any empty views were refreshed with a plainREFRESH MATERIALIZED VIEW(notCONCURRENTLY). Recommended starting points: continuous archiving with RPO ≤ 15 minutes and RTO ≤ 2 hours, or apg_dumpschedule whose RPO equals the dump interval. - The upgrade procedure is documented: bump image tags or Helm values, take a backup first, and let Flyway migrate on start. Downgrades are restore-only.
- The handover runbook contains: URLs, hostnames, VM access, database credential location, license expiry, certificate expiry, integration owners, backup/restore steps, and the support channel.
- Security sign-off is complete: TLS, secret storage, least privilege, egress/ingress rules, and no exposed database or actuator.
- The customer administrator is trained: create and archive users, assign roles, connect an integration, issue a plugin token, and read Settings → Plugins.
- The rollout communication is sent to developers with plugin instructions and a first-week support channel.
Typical timeline
| When | Work | Owner |
|---|---|---|
| Day 0 | License, archive, hostnames, certificates, provider access | PanDev + customer |
| Day 0–1 | VM, reverse proxy, firewall, DNS, TLS | Customer infrastructure |
| Day 1 | Install, backend HTTPS, license, first admin | PanDev + customer |
| Day 1–2 | LDAP or manual users, roles, departments, calendar | Customer administrator |
| Day 2 | Git and task-tracker integrations, backfill | Customer administrator + PanDev |
| Day 2–3 | Pilot plugin group (5–10 developers) | Team lead |
| Week 1 | Verify data, fix gaps, full rollout | All |
Common pitfalls
| Symptom | Likely cause | Fix |
|---|---|---|
| UI loads, but every API call fails and dashboards are blank | API_BASE_URL is localhost, a Docker service name, or was changed after the workspace started | Set the public HTTPS API URL and recreate the workspace container |
Backend exits immediately with Illegal instruction | The hypervisor masks AVX2, FMA, or BMI2 from the GraalVM native image | Pass the host CPU through, or use -arm images on arm64 |
FATAL: password authentication failed | POSTGRES_PASSWORD was changed after the volume was initialized | Restore the original password, or recreate the volume with data loss |
| Integration is green, but updates are not real-time | Inbound webhooks are blocked | Allow HTTPS from the provider to the backend; test the webhook path from outside |
Webhook deliveries return 401 or 403 | The app or token was re-authorized or rotated | Re-install or re-authorize the integration |
| Plugin connects, but no activity appears | Wrong or rotated token, or the user has no role | Re-copy the token from Settings → Plugins; assign a role |
| A user signs in but sees an empty dashboard | No tenant role, or no department membership | Assign a tenant role and add department membership |
| An LDAP user gets "access denied" | The user was auto-created without a role | Assign a role in Organization → Employees |
| Dashboards show zeros after a restore | Materialized views were restored empty | Run a plain REFRESH MATERIALIZED VIEW in dependency order |
| Integrations fail with a certificate error | A private CA is not in the backend truststore | Import the CA, or document a Settings → SSL exception |
| Disk usage grows without bound | Raw events are retained indefinitely | Monitor disk and size for history; there is no retention cut-off today |
Related
- How-to: Install PanDev Metrics on-prem
- Reference: System requirements
- Reference: Network and ports
- How-to: Licensing and first login
- How-to: LDAP integration
- How-to: User management
- How-to: IDE plugins overview
- How-to: Git integrations
- How-to: Task trackers