Skip to main content

Overview

The Performance Report system is fully configuration-driven — no backend code changes are required to create new reports. The reporting engine dynamically reads metrics, filters by source, applies templates, and builds SQL queries automatically.

Architecture

The database is designed with 6 layers:

Key Tables

Data Dictionary

Central repository for all metrics, dimensions, and formulas. The source of truth.

Creating Reports

Step-by-step guide to creating system-defined reports via configuration.

Example: LinkedIn Ads

End-to-end walkthrough of building a LinkedIn Ads system report.

Feature Flags

Control which features and modules are available per client.

Table Relationships

System Report Rules

System-defined reports follow specific constraints:
  • Always aggregated (no granular drill-down)
  • Always daily granularity
  • Only top-level metrics included in templates