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
BITMAKER-3543 Stats module merging #210
Conversation
#204) * Added spiders endpoint to global stats and modified the stats serializers schema * Fixed issues with api generation, changed some schema responses and updated viewsets names * Added jobs action method to spiders viewset * Added the integration in frontend with the backend, disabled the expandable feature on the stats table * Disabling expandable row on stats table section * Fix issues mentioned on my reviewer's comments
* Rebase done & generating new API * Finished modals chart appendix content and added pagination for spiders * Changed the position of the expand icon to see the details modal * Changed spiders Ids for names to enhance UX, fixing issues with overview tab state variables on reloading * Fixing issue with default page in jobs and spiders endpoints * Generated new docs and fixing issue with notifications endpoint * Changing spider title tag
…enu (#160) * Call save_action method in views and serializers * Refactor Activity and Notification code * Changed Project ordering to use the name field * Fixed serializers and migrations. * Update serializers and views to correctly use activity and notification * Fix cronjob "run once" method --------- Co-authored-by: Raymond Negron <raymond1242@Raymonds-MacBook-Air.local> Co-authored-by: mgonnav <mateo@emegona.com>
* BITMAKER-1980: Save real-time stats in Redis (#144) * Retrieve job stats from Redis if the job is running * Catch Exception rather than PyMongo exceptions * Add unless-stopped restart policy to docker services * Save stats from Redis when job is manually stopped
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.
Check and fix comments pls
**self.numerical_stats, | ||
"jobs": {**self.jobs_stats}, | ||
"pages": {**self.pages_stats}, | ||
"status_codes": {**self.status_codes_stats}, | ||
"logs": {**self.logs_stats}, | ||
"coverage": {**self.coverage_stats}, |
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.
Now the initialization is shorter
return Notification.objects.filter(user=self.request.user).order_by( | ||
"-activity__created" | ||
) |
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.
This changes belong your PR?
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.
There are changes I think not from you PR
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.
Good Job!
Description
Review meetings and changing code for corrections if needed for the stats module branch since this is a big change.
Completion Criteria:
Stats module is merged.
Issue
Checklist before requesting a review