Skip to content

Add Integration Summary Metrics to Integrations Listing

Display summary metrics for each integration in the integrations listing table.

  • Metrics: total event count (30d), success rate %, last execution timestamp, failure count
  • Query Event Manager API for aggregated data by organization_id and source_id
  • Color-coded indicators: green (>95%), yellow (80-95%), red (<80%)
  • Cache metrics for 5-15 minutes; load asynchronously after table renders
  • API endpoint: GET /integrations/:id/metrics?days=30
  • Response: { totalEvents, successCount, failureCount, successRate, lastExecutionTimestamp }

Example:

Integration listing with metrics:

┌──────────────────────────────────────────────────────────────────┐
│ Name      | Org  | Metrics (30d)                    | Actions    │
├──────────────────────────────────────────────────────────────────┤
│ ADP Sync  | Acme | 1,250 events • ✓ 98.2% • 22 fails | [▶] [✏]  │
│ QB Import | Acme | 45 events • ⚠ 88.9% • 5 fails     | [▶] [✏]  │
└──────────────────────────────────────────────────────────────────┘