-
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
feat(ui): Adding new analytics charts for new users, top users past month #10344
feat(ui): Adding new analytics charts for new users, top users past month #10344
Conversation
@Searchable = { | ||
"/time": { | ||
"fieldName": "statusLastModifiedAt", | ||
"fieldType": "COUNT" | ||
} | ||
} |
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.
you need a backfill job otherwise it won't work for existing deployments. This would mean for a month the charts will be empty.
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.
see comments below
.filter(row -> !row.getCells().isEmpty()) | ||
.map(row -> UrnUtils.getUrn(row.getCells().get(0).getValue())) | ||
.collect(Collectors.toSet()); | ||
final Map<Urn, EntityResponse> gmsResponseByUser = |
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.
Might be a good idea to add a check for userUrns size before making these calls. No need to make these calls in case this is empty.
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.
Merge pending CI + backfill job please discuss internally.
i did not plan to do a backfill job. this will delay the PR further and higher priorities. if we decide on backfill it will take another 3 days before i have it ready i'll let the primary stakeholder (@gabe-lyons) make the final call on whether to delay or not. |
…onth (datahub-project#10344) Co-authored-by: John Joyce <[email protected]> Co-authored-by: John Joyce <[email protected]>
In this PR, we add 2 basic charts to analytics tabs:
This includes their name, title, and email for reference.
Checklist