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

add timers for subspans of sync_repos to understand slowdowns #20

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

matt-codecov
Copy link
Contributor

as title

self.metrics_prefix exists on the task base class but that's extremely bloated (worker.task.app.tasks.sync_repos.SyncRepos) and the elastic UI kinda can't render names that long very well. so i am using worker.SyncReposTask as the scope for these drilldown metrics, and the normal task-level metrics are using the normal prefix

codecov/engineering-team#101

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #20 (e58971f) into main (0280866) will increase coverage by 0.00%.
The diff coverage is 91.66%.

❗ Current head e58971f differs from pull request most recent head c055a16. Consider uploading reports for the commit c055a16 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   98.61%   98.61%           
=======================================
  Files         327      327           
  Lines       25142    25121   -21     
=======================================
- Hits        24793    24773   -20     
+ Misses        349      348    -1     
Flag Coverage Δ
integration 98.61% <91.66%> (+<0.01%) ⬆️
latest-uploader-overall 98.61% <91.66%> (+<0.01%) ⬆️
unit 98.61% <91.66%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 97.31% <91.66%> (+<0.01%) ⬆️
OutsideTasks 98.35% <ø> (ø)
Impacted Files Coverage Δ
tasks/sync_repos.py 97.90% <91.66%> (+0.10%) ⬆️

... and 3 files with indirect coverage changes

Related Entrypoints
run/app.tasks.sync_repos.SyncRepos

scott-codecov
scott-codecov previously approved these changes Jul 19, 2023
@matt-codecov matt-codecov merged commit 122e2f1 into main Jul 19, 2023
@matt-codecov matt-codecov deleted the matt/add-sync-repos-timers branch July 19, 2023 19:23
This pull request was closed.
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.

2 participants