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(taskworker) Align metric names and include taskname in more metrics #87787

Merged
merged 2 commits into from
Mar 26, 2025

Conversation

markstory
Copy link
Member

Add taskname tag to more worker metrics. We'll likely need to know how many instances of each task were added, and what the latency on each task is as well.

Add taskname tag to more worker metrics. We'll likely need to know how
many instances of each task were added, and what the latency on each
task is as well.
@markstory markstory requested a review from a team as a code owner March 24, 2025 19:58
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 24, 2025
Copy link

codecov bot commented Mar 24, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/taskworker/worker.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #87787       +/-   ##
===========================================
+ Coverage   42.12%   87.76%   +45.64%     
===========================================
  Files        9894     9913       +19     
  Lines      562283   563260      +977     
  Branches    22209    22129       -80     
===========================================
+ Hits       236853   494356   +257503     
+ Misses     325028    68502   -256526     
  Partials      402      402               

@markstory markstory merged commit 93db233 into master Mar 26, 2025
48 checks passed
@markstory markstory deleted the fix-metric-tags branch March 26, 2025 21:24
andrewshie-sentry pushed a commit that referenced this pull request Mar 27, 2025
…cs (#87787)

Add taskname tag to more worker metrics. We'll likely need to know how
many instances of each task were added, and what the latency on each
task is as well.
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