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: clear metrics and tasklet alias #466

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

GustavBaumgart
Copy link
Collaborator

Description

After metrics are reported (usually every round in the save_metrics method) they are cleared. This prevents a metric from being reported more than it should be.

Additionally, in order to properly report runtime-related metrics, the alias field was specified on all tasklets.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

After metrics are reported (usually every round in the save_metrics method) they are cleared.
This prevents a metric from being reported more than it should be.

Additionally, in order to properly report runtime-related metrics, the alias field was specified on all tasklets.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e4fa6c3) 14.95% compared to head (66e32ed) 14.95%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage   14.95%   14.95%           
=======================================
  Files          49       49           
  Lines        2735     2735           
=======================================
  Hits          409      409           
  Misses       2299     2299           
  Partials       27       27           

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

Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@myungjin myungjin merged commit 01b4584 into cisco-open:main Nov 30, 2023
3 checks passed
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