Onboarding Data

Contents

Data architecture overview

Data used by Onboarding Specialists comes from three main sources:

Billing Postgres admin panel view

  • Customer account, subscription, and invoice type data
  • Usage reports and consumption metrics
  • Revenue amortization calculations
  • Billing forecast / spike calculations

Production Postgres admin panel view (US)

  • Organizations and projects configuration
  • User accounts and permissions
  • Product settings and feature flags
  • Warehouse tables, pipeline source/destination info

ClickHouse

  • Event and person data for all teams (projects)
  • person to distinct_id mappings

Query capabilities

  • Metabase queries production databases directly but cannot combine Postgres and ClickHouse in a single query

  • PostHog analytics limited to Team 2 data, but can query across databases in a single query

  • Cross-organization analysis requires Metabase for customer event analysis, including:

    • Library usage breakdowns
    • Event volume metrics
    • Implementation diagnostics

Key data tables

For onboarding analysis, these tables provide essential data:

TablePurposeKey fields
invoice_with_annualBilling data with revenue amortizationRevenue (mrr), billing period, type (annual, completed, upcoming, etc)
posthog_organizationOrg-level configurationsSettings, feature access, creation date
posthog_projectProject/team settingsProject configuration, team members
billing_spikeUsage anomaly detectionSpike timestamps, magnitude, affected metrics

Was this page useful?