Skip to content

watcher: Start recording metrics for git index change handling - #3477

Merged
syphar merged 1 commit into
rust-lang:mainfrom
syphar:index-handle-metrics
Aug 27, 2026
Merged

watcher: Start recording metrics for git index change handling#3477
syphar merged 1 commit into
rust-lang:mainfrom
syphar:index-handle-metrics

Conversation

@syphar

@syphar syphar commented Aug 26, 2026

Copy link
Copy Markdown
Member

preparation for #3349.

For SQS I'm missing one piece of information: How long does it take to handle one change, depending on the type?
Some of the architecture decisions and settings in the sqs subscriber depend on that, at least the visibility timeout, perhaps how many events we can fetch in a batch. Or if we need to tokio::spawn the event-handling? not sure. In any case, the data will help.

Mainly for the new SQS logic I added some metrics in #3349, so I thought we could also just merge and track these just for the git index. With that data I'll be able to estimate much better.

While we touch it, i also added some tracing::instrument markers so we have sampled detailed performance traces in sentry.

@github-actions github-actions Bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Aug 26, 2026
@syphar syphar self-assigned this Aug 26, 2026
@syphar
syphar force-pushed the index-handle-metrics branch 3 times, most recently from 54765c9 to 765310c Compare August 26, 2026 21:14
@syphar syphar changed the title Smregquashed commit of the following: Watcher: Start recording metrics for git index change handling Aug 26, 2026
@syphar
syphar force-pushed the index-handle-metrics branch 11 times, most recently from c43015c to b2eb0fc Compare August 26, 2026 22:15
@syphar
syphar force-pushed the index-handle-metrics branch from b2eb0fc to fa408af Compare August 26, 2026 22:18
@syphar syphar changed the title Watcher: Start recording metrics for git index change handling watcher: Start recording metrics for git index change handling Aug 26, 2026
@syphar
syphar marked this pull request as ready for review August 26, 2026 22:19
@syphar
syphar requested a review from a team as a code owner August 26, 2026 22:19
@syphar

syphar commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

r? @GuillaumeGomez

@rustbot rustbot assigned GuillaumeGomez and unassigned syphar Aug 26, 2026
@syphar
syphar merged commit fc88a93 into rust-lang:main Aug 27, 2026
11 checks passed
@github-actions github-actions Bot added the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Aug 27, 2026
@syphar
syphar deleted the index-handle-metrics branch August 27, 2026 09:17
@github-actions github-actions Bot removed the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants