-
Notifications
You must be signed in to change notification settings - Fork 8
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
PENG-2456 enable job metric collection in the API #665
PENG-2456 enable job metric collection in the API #665
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/PENG-2455--job-metric-collection #665 +/- ##
============================================================================
+ Coverage 92.57% 92.71% +0.14%
============================================================================
Files 85 86 +1
Lines 4483 4683 +200
============================================================================
+ Hits 4150 4342 +192
- Misses 333 341 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…vailable by the API
600b2db
to
ff96f56
Compare
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.
Cool stuff here! Left some comments for you.
jobbergate-api/alembic/versions/20241128_162020--99c3877d0f10_create_job_metric_table.py
Show resolved
Hide resolved
…ons/helpers.py based on the PR review
… instead of 422 when *start_time* is greater than *end_time*
…_agent_metrics_upload* endpoint
… endpoint to a dedicated function in the helpers module
…icSchema* model to use generator expressions instead of map and filter
6a48597
to
925ae78
Compare
…e *validate_job_metric_upload_input* function
cb06f8c
into
feature/PENG-2455--job-metric-collection
What
This PR implements all the necessary logic for receiving job metrics from the agent and making them available by the API. For any specific detail, check the task linked.
Why
Improve the experience regarding the job submissions.
Task
: https://sharing.clickup.com/t/h/c/18022949/PENG-2456/43YCG8RCBBQJELQPeer Review
Please follow the upstream omnivector documentation concerning
peer-review guidelines.