Skip to content

Commit

Permalink
Sliding Sync: Add more tracing (#17514)
Browse files Browse the repository at this point in the history
Spawning from looking at a couple traces and wanting a little more info.

Follow-up to github.com//pull/17501

The changes in this PR allow you to find slow Sliding Sync traces ignoring the
`wait_for_events` time. In Jaeger, you can now filter for the `current_sync_for_user`
operation with `RESULT.result=true` indicating that it actually returned non-empty results.

If you want to find traces for your own user, you can use
`RESULT.result=true ARG.sync_config.user="@MadLittleMods:matrix.org"`
  • Loading branch information
MadLittleMods authored Aug 6, 2024
1 parent bef6568 commit 1dfa59b
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 240 deletions.
1 change: 1 addition & 0 deletions changelog.d/17514.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add more tracing to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint.
Loading

0 comments on commit 1dfa59b

Please sign in to comment.