maiven gateway · online··
manifest · 1d ago
Sign in
Back to catalog
MAIVENmodelmarts

mart_support_tickets_daily

certified
mart table

How loaded is the queue and how fast are we resolving.

Definition

Daily support queue health — how many tickets were opened, how many of those got resolved, how long it took, and how customers rated it. Bucketed by category × priority so the ops lead can see which lanes are loaded.

What it means
Watch out for
  • highAveraging `p50_resolution_hours` across multiple buckets

    Roll-ups of percentiles are biased (avg-of-percentiles). For a true window percentile, query a single-bucket result and read the raw value — don't time_grain over it.

  • mediumReading CSAT without `tickets_with_csat`

    avg_csat_score weights all rated tickets equally per bucket. Always pair it with `tickets_with_csat` so the consumer sees the sample size — buckets with 3 ratings drift wildly.

  • mediumComparing `tickets_closed` to `tickets_opened` across days

    `tickets_closed` counts CURRENT status, not closures-in-bucket. A ticket opened Monday and resolved Tuesday counts in Monday's `tickets_opened` AND `tickets_closed`. close_rate handles this correctly; subtraction does not.

Questions this answers
  • “Which categories had the highest backlog last week?”
  • “CSAT trend for billing tickets, weekly, year-over-year.”
  • “Close-rate by priority, this month.”
Related metrics
  • customer_health

    Per-customer support footprint feeds the at-risk flag. Spikes here drive at_risk_share there.

  • product_reviews

    Negative reviews often precede a category support spike — compare the trends to spot quality regressions early.

  • revenue

    Cross-reference with revenue to answer "is the queue cost catching up with sales growth?"

12 of 12
Column
Type
Description
Tests · PII
opened_day
Date
Calendar date tickets were opened. Part of the sort/partition key.
1 test
category
String
Ticket category — `shipping`, `product`, `billing`, `account`, `returns`, `other`.
priority
String
Ticket priority — `low`, `medium`, `high`, `urgent`.
tickets_opened
UInt64
Total tickets opened in the bucket.
2 tests
tickets_closed
UInt64
Of those opened, how many are now `resolved` or `closed`.
tickets_high_priority
UInt64
Of those opened, how many had `priority` in (`high`, `urgent`).
tickets_still_open
UInt64
Of those opened, how many remain in `open` status (not yet picked up).
avg_resolution_hours
Nullable(Float64)
Mean hours from `opened_at` to `resolved_at` across resolved tickets in the bucket. Null when no ticket has been resolved.
p50_resolution_hours
Nullable(Float64)
Median resolution hours across resolved tickets. Null when none.
p95_resolution_hours
Nullable(Float64)
95th-percentile resolution hours across resolved tickets. Null when none.
avg_csat_score
Nullable(Float64)
Average CSAT score (1..5) for tickets opened on this day. Null when no CSAT was submitted.
1 test
tickets_with_csat
UInt64
Of those opened, how many received a CSAT score from the customer.