PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Salesforce

Design an analytics dashboard for an AI chat app

Last updated: May 5, 2026

Quick Overview

This question evaluates a candidate's ability to design scalable observability and analytics systems for an AI chat product, including considerations around instrumentation, ingestion, storage, aggregation, query patterns, dashboard serving, and multi-dimensional slicing by model, region, platform, and tenant.

  • medium
  • Salesforce
  • System Design
  • Software Engineer

Design an analytics dashboard for an AI chat app

Company: Salesforce

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

## Scenario Design an **analytics dashboard** for a ChatGPT-like AI chat product. The dashboard is used by Product/Engineering/Support to monitor product health and usage. ## Requirements ### Core use cases - Near real-time monitoring of: - Usage: DAU/WAU/MAU, sessions, messages per user, retention cohorts - Performance: end-to-end latency (P50/P95/P99), streaming token latency, time-to-first-token - Reliability: error rate, timeouts, rate limits - Quality proxies: user feedback (thumbs up/down), conversation abandonment - Cost: tokens generated, $ cost by model/tenant - Slice metrics by dimensions: model, region, platform, tenant, app version. - Support **time ranges** (last 15m, 1h, 24h, custom) and **drill-down**. ### Non-functional - Data freshness targets: - Operational metrics: ~1–5 minutes - Business/retention metrics: hourly/daily acceptable - High availability; dashboard should degrade gracefully. - Privacy/security: PII handling, access control, audit logs. ## Deliverable Propose an end-to-end system design: instrumentation, ingestion, storage, aggregation, query patterns, and the dashboard serving layer.

Quick Answer: This question evaluates a candidate's ability to design scalable observability and analytics systems for an AI chat product, including considerations around instrumentation, ingestion, storage, aggregation, query patterns, dashboard serving, and multi-dimensional slicing by model, region, platform, and tenant.

Related Interview Questions

  • Design a TikTok-like short video platform - Salesforce (medium)
  • Design a scalable coffee ordering notification system - Salesforce (medium)
  • Design a configurable monthly API rate limiter - Salesforce (medium)
  • Design a pipeline orchestration system on Kubernetes - Salesforce (medium)
  • Design a coffee ordering system - Salesforce (medium)
Salesforce logo
Salesforce
Jan 22, 2026, 12:00 AM
Software Engineer
Onsite
System Design
13
0
Loading...

Scenario

Design an analytics dashboard for a ChatGPT-like AI chat product.

The dashboard is used by Product/Engineering/Support to monitor product health and usage.

Requirements

Core use cases

  • Near real-time monitoring of:
    • Usage: DAU/WAU/MAU, sessions, messages per user, retention cohorts
    • Performance: end-to-end latency (P50/P95/P99), streaming token latency, time-to-first-token
    • Reliability: error rate, timeouts, rate limits
    • Quality proxies: user feedback (thumbs up/down), conversation abandonment
    • Cost: tokens generated, $ cost by model/tenant
  • Slice metrics by dimensions: model, region, platform, tenant, app version.
  • Support time ranges (last 15m, 1h, 24h, custom) and drill-down .

Non-functional

  • Data freshness targets:
    • Operational metrics: ~1–5 minutes
    • Business/retention metrics: hourly/daily acceptable
  • High availability; dashboard should degrade gracefully.
  • Privacy/security: PII handling, access control, audit logs.

Deliverable

Propose an end-to-end system design: instrumentation, ingestion, storage, aggregation, query patterns, and the dashboard serving layer.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Salesforce•More Software Engineer•Salesforce Software Engineer•Salesforce System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.