Skip to content

feat(taskworker) Add usage_accountant to taskworkers #90424

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

Merged
merged 2 commits into from
Apr 28, 2025

Conversation

markstory
Copy link
Member

With taskworkers, worker pools may handle a variety of app_features but we want visibility into the resources used by each feature.

The app_feature assignments on each namespace are derived from the current celery worker pool assignments in getsentry/ops. If I wasn't able to find a clean mapping shared has been used.

Refs getsentry/taskbroker#143

With taskworkers, worker pools may handle a variety of app_features but
we want visibility into the resources used by each feature.

The `app_feature` assignments on each namespace are derived from the
current celery worker pool assignments in getsentry/ops. If I wasn't
able to find a clean mapping `shared` has been used.

Refs getsentry/taskbroker#143
@markstory markstory requested a review from a team as a code owner April 25, 2025 20:20
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 25, 2025
Copy link

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #90424       +/-   ##
===========================================
+ Coverage   65.59%   87.73%   +22.13%     
===========================================
  Files       10256    10280       +24     
  Lines      579849   580360      +511     
  Branches    22617    22637       +20     
===========================================
+ Hits       380336   509159   +128823     
+ Misses     199070    70774   -128296     
+ Partials      443      427       -16     

@markstory markstory merged commit 8600f83 into master Apr 28, 2025
64 checks passed
@markstory markstory deleted the feat-taskworker-usage branch April 28, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants