-
Notifications
You must be signed in to change notification settings - Fork 727
feat: add sink dashboard metrics (CM-811) #3670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conventional Commits FTW!
| ms.membersTotal, | ||
| ms.membersLast30Days, | ||
| os.organizationsTotal, | ||
| os.organizationsLast30Days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing date column in dashboard metrics sink
Medium Severity
The sink output is missing a date column that other Kafka sink pipes in the codebase include (using toStartOfDay(now()) as date). Both health_score_sink.pipe and insights_projects_populated_sink.pipe follow this pattern. Without a date column, downstream consumers cannot determine when the metrics snapshot was generated, making historical analysis, deduplication, and data tracking difficult.
PR: Dashboard Total Metrics Sink + Kafka Connect Image Update
Overview
This pull request introduces improvements to the data pipeline and infrastructure stability:
🚀 Changes
Note
Introduces a Tinybird sink that computes and exports global CDP dashboard totals.
services/libs/tinybird/pipes/cdp_dashboard_metrics_total_sink.pipewith nodecdpDashboardMetricsTotalto aggregateactivitiesTotal,activitiesLast30Days,membersTotal,membersLast30Days,organizationsTotal, andorganizationsLast30Daysusingcdp_member_segment_aggregates_MVandcdp_organization_segment_aggregates_MVlfx-oracle-kafka-streaming) as JSON on topiccdp_dashboard_metrics_total_sink, scheduled0 9 * * *Written by Cursor Bugbot for commit 50e6955. This will update automatically on new commits. Configure here.