-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(analytics): add missing usage events causing warning in logs #7109
Conversation
Expected to fail with |
Code check did fail https://github.com/datahub-project/datahub/actions/runs/3989112410/jobs/6841138499 with
Added it now. So should pass now. |
Code check passed now https://github.com/datahub-project/datahub/actions/runs/3989151394/jobs/6841229205
|
|
||
ts_events_not_in_java = ts_events.difference(java_events) | ||
if len(ts_events_not_in_java) > 0: | ||
print(f"Missing {ts_events_not_in_java} from DataHubUsageEventType.java. Please add") |
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.
Thanks for adding this. We will need to watch these usage indexes as they continue to grow with all of these new events!
Overall, I like the idea of keeping these in sync.
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.
I'm looking forward to this change! Let's change from draft state when you're ready.
Tested on local and don't see the warning showing up anymore in gms logs. |
Work on fixing the failing cypress is being done in #7116 |
Not having this was causing logs like this in gms which caused confusion.
Checklist