Skip to main content
Version: v2 (current)

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.com for the UI and metrics.example.com for the API. The API name becomes API_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.

ProfilevCPURAMDiskNotes
Pilot / XS — up to ~10 engineers412 GB50 GB SSDMinimum for a pilot; not a long-term production baseline
Small — up to ~50 engineers820 GB100 GB SSDRecommended default for a first production rollout
Medium — 50–200 engineers1240 GB100–250 GB SSDMove PostgreSQL to its own host from this size
Large — 200+ engineers2072 GB500 GB+ NVMePostgreSQL 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 with Illegal instruction.
  • Docker Engine ≥ 20.10 and Docker Compose ≥ v2.0 are installed (v2.20+ recommended). Verify with docker --version and docker compose version.
  • Public inbound is TCP 443 only to the reverse proxy. 8080 (API) and 8090 (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_PROXY and NO_PROXY for 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.
warning

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/pandev
    sudo chown "$USER":"$USER" /opt/pandev
    cd /opt/pandev
    unzip /tmp/pandev-metrics-distribution.zip -d .
  • The archive contains docker-compose/ and helm-chart/. PostgreSQL is bundled; do not install it separately.
  • docker-compose/.env is edited with production values:
    POSTGRES_DB=pandev_metrics
    POSTGRES_USER=pandev
    POSTGRES_PASSWORD=<strong, unique password>
    API_BASE_URL=https://metrics.example.com
  • API_BASE_URL is the public API hostname — not localhost, not 127.0.0.1, not a Docker service name, and with no trailing slash.
  • chmod 600 .env is applied, and the file is stored in the customer's secret manager and excluded from version control.
  • On arm64, the -arm image tags are selected in docker-compose.yml. On x86_64, the default tags are left unchanged.
  • The stack starts:
    docker compose pull
    docker compose up -d
  • The first start is complete: docker compose logs -f pandev-metrics-server shows Flyway migrations followed by the startup banner. Allow 1–3 minutes.
  • docker compose ps shows pandev-metrics-server Up, pandev-metrics-workspace Up, and postgres Up (healthy).
  • POSTGRES_PASSWORD was set before the first start. Changing it after the database volume is initialized causes password 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.yaml sets serverUrl (public API), workspaceUrl (public UI), ingress.enabled, and ingress.className.
  • postgresql.auth.password is set to a strong value; persistence is enabled (default 100Gi) and postgresql.primary.persistence.storageClass is pinned if the cluster has no default StorageClass.
  • The release is installed and kubectl get pods -n metrics shows every pod Ready; the PostgreSQL PVC is Bound.
  • Backend and workspace images use the correct architecture tags (-arm on 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 to http://127.0.0.1:8080.
  • API_BASE_URL exactly 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.com
    curl -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; 8080 and 8090 are reachable only from the proxy; 5432 and 9090 are closed externally.
  • Proxy headers are set: Host, X-Real-IP, X-Forwarded-For, X-Forwarded-Proto, X-Forwarded-Host. Set client_max_body_size 50m and raise proxy_read_timeout above 60 seconds for long-lived UI connections.
  • If API_BASE_URL changed 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:
    curl -sS -o /dev/null -w "%{http_code}\n" \
    https://metrics.example.com/v1/github/webhook/pull-request
    The result must be an HTTP status (4xx is expected for a GET), not a connection error.
  • Security review passed: TLS 1.2+, no public 8080 / 8090 / 5432 / 9090, no self-signed certificate on a public name, and secrets only in .env or the secret manager.
tip

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.com opens 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, or uid), 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.
  • 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, and GITHUB_PRIVATE_KEY_BASE_64 on 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). 401 or 403 means 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-only for the first rollout, automatic only 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-worklog and /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 ps or kubectl get pods -n metrics).
  • The UI and API are HTTPS-only from outside; the certificate chain is valid; 8080, 8090, 5432, and 9090 are 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 plain REFRESH MATERIALIZED VIEW (not CONCURRENTLY). Recommended starting points: continuous archiving with RPO ≤ 15 minutes and RTO ≤ 2 hours, or a pg_dump schedule 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​

WhenWorkOwner
Day 0License, archive, hostnames, certificates, provider accessPanDev + customer
Day 0–1VM, reverse proxy, firewall, DNS, TLSCustomer infrastructure
Day 1Install, backend HTTPS, license, first adminPanDev + customer
Day 1–2LDAP or manual users, roles, departments, calendarCustomer administrator
Day 2Git and task-tracker integrations, backfillCustomer administrator + PanDev
Day 2–3Pilot plugin group (5–10 developers)Team lead
Week 1Verify data, fix gaps, full rolloutAll

Common pitfalls​

SymptomLikely causeFix
UI loads, but every API call fails and dashboards are blankAPI_BASE_URL is localhost, a Docker service name, or was changed after the workspace startedSet the public HTTPS API URL and recreate the workspace container
Backend exits immediately with Illegal instructionThe hypervisor masks AVX2, FMA, or BMI2 from the GraalVM native imagePass the host CPU through, or use -arm images on arm64
FATAL: password authentication failedPOSTGRES_PASSWORD was changed after the volume was initializedRestore the original password, or recreate the volume with data loss
Integration is green, but updates are not real-timeInbound webhooks are blockedAllow HTTPS from the provider to the backend; test the webhook path from outside
Webhook deliveries return 401 or 403The app or token was re-authorized or rotatedRe-install or re-authorize the integration
Plugin connects, but no activity appearsWrong or rotated token, or the user has no roleRe-copy the token from Settings → Plugins; assign a role
A user signs in but sees an empty dashboardNo tenant role, or no department membershipAssign a tenant role and add department membership
An LDAP user gets "access denied"The user was auto-created without a roleAssign a role in Organization → Employees
Dashboards show zeros after a restoreMaterialized views were restored emptyRun a plain REFRESH MATERIALIZED VIEW in dependency order
Integrations fail with a certificate errorA private CA is not in the backend truststoreImport the CA, or document a Settings → SSL exception
Disk usage grows without boundRaw events are retained indefinitelyMonitor disk and size for history; there is no retention cut-off today