Missing Project and Namespace IDs in structured events
From a Slack thread:
I'm mainly curious why
dim_namespace_idanddim_project_idare null in so many self-managed events🤔 I'm querying theprod.common_mart.mart_behavior_structured_event tableI was looking into this a bit more with this event (
users_creating_work_items) and noticed that most of the occurrences ofnullProject/Namespace columns are related to events where theplan_nameisdefaultorunknownon self-managed instances. I'm also curious why we can't determine what the plan name is🤷 🤔
Queries I was playing around with:
SELECT
*
FROM prod.common_mart.mart_behavior_structured_event
WHERE event_action = 'users_creating_work_items'
AND app_id != 'gitlab-staging'
AND plan_name = 'Unknown'
ORDER BY behavior_at
LIMIT 1000
SELECT
plan_name,
COUNT(*),
FROM prod.common_mart.mart_behavior_structured_event
WHERE event_action = 'users_creating_work_items'
AND app_id != 'gitlab-staging'
GROUP BY 1
Edited by 🤖 GitLab Bot 🤖