Skip to content

Metric smoke: Collaboration metrics #1441

Description

@ktursunov

Collaboration — Metric smoke

Gold view insight.collab_bullet_rows · flows …0005 (Team) / …0012 (IC) · grain member · team. Source connectors: m365, slack, zoom.

Happy-path smoke only. Seed one clean, deterministic bronze dataset → assert the served values match the golden CSV. Negative / auth / empty / malformed / edge cases are out of scope (separate negative-test track). Fixture: collab_smoke. Runs in the rig (#1422).

Target metrics (20)

  • Active Daysm365_active_days · ✅ real
  • Emails Readm365_emails_read · ✅ real
  • Emails Receivedm365_emails_received · ✅ real
  • Emails Sentm365_emails_sent · ✅ real
  • Files Engagedm365_files_engaged · ✅ real
  • Files Shared (External)m365_files_shared_external · ✅ real
  • Files Shared (Internal)m365_files_shared_internal · ✅ real
  • Teams Chatsm365_teams_chats · ✅ real
  • Meeting-Free Daysmeeting_free · ✅ real
  • Meeting Hoursmeeting_hours · ✅ real
  • Meetings Attendedmeetings_count · ✅ real
  • Active Daysslack_active_days · ✅ real
  • Channel Postsslack_channel_posts · ✅ real
  • Messages Sentslack_messages_sent · ✅ real
  • Teams Meeting Hoursteams_meeting_hours · ✅ real
  • Teams Meetings Attendedteams_meetings · ✅ real
  • Zoom Meeting Hourszoom_meeting_hours · ✅ real
  • Zoom Meetings Attendedzoom_meetings · ✅ real
  • DM Ratioslack_dm_ratio · 🔁 reconstructed
  • Messages per Active Dayslack_msgs_per_active_day · 🔁 reconstructed

Legend — ✅ real (assert the gold value) · 🔁 reconstructed in query_ref (Σnum/Σden — assert the API value) · ⛔ locked stub / ComingSoon (assert NULL).

Pipeline

bronze (m365, slack, zoom) → silver class_* (read FINAL) → gold insight.collab_bullet_rows → API POST /v1/metrics/{id}/query.

Notes

Meeting metrics read class_collab_meeting_activity FINAL directly. Absorbs #1413 — its m365 seed work feeds this smoke (m365 ≈ 12 of 20 keys).

Acceptance

Parent: #1438 (Metric smokes) · Epic #1404 · P0

Metadata

Metadata

Assignees

Labels

component:ingestiondbt / approved connector scopeenhancementNew feature or requestteam:qaTest installation and scenario validation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions