Skip to content
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(agent): PENG-2457 modify the fetch_influx_data and update_job_metrics functions #677

Conversation

matheushent
Copy link
Member

This PR modifies the mentioned functions to consider the case where the response of the GET jobbergate/job-submissions/agent/metrics/{job_submission_id} returns an empty list in the max_times key.


Peer Review

Please follow the upstream omnivector documentation concerning
peer-review guidelines.

…metrics* functions

This commit modifies the mentioned functions to consider the case where the response of the
*GET jobbergate/job-submissions/agent/metrics/{job_submission_id}* returns an empty list
in the *max_times* key.
@matheushent matheushent changed the title fix(agent): PENG-2457 modify the *fetch_influx_data* and *update_job_metrics* functions fix(agent): PENG-2457 modify the fetch_influx_data and update_job_metrics functions Dec 19, 2024
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (feature/PENG-2455--job-metric-collection@0b9823e). Learn more about missing BASE report.

Additional details and impacted files
@@                             Coverage Diff                             @@
##             feature/PENG-2455--job-metric-collection     #677   +/-   ##
===========================================================================
  Coverage                                            ?   92.83%           
===========================================================================
  Files                                               ?       88           
  Lines                                               ?     4842           
  Branches                                            ?        0           
===========================================================================
  Hits                                                ?     4495           
  Misses                                              ?      347           
  Partials                                            ?        0           
Flag Coverage Δ
agent 93.53% <ø> (?)
api 95.39% <ø> (?)
cli 88.60% <ø> (?)
core 96.31% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matheushent matheushent merged commit 97ba3f2 into feature/PENG-2455--job-metric-collection Dec 19, 2024
13 checks passed
@matheushent matheushent deleted the matheushent/PENG-2457--patch-when-max-time-is-empty branch December 19, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants