Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle: Add tracing annotations to backup requests
Problem There are no tracing annotations for backup requests. Adding them is not particularly difficult, however this runs into a problem with how MethodBuilder uses them as the backup requests happen before the client's trace initialization. Solution Have MethodBuilder take over placement of trace initialization and add anotations to `BackupRequestFilter`. Result Timestamped annotations for: - "Client Backup Request Issued" - "Client Backup Request Won" or "Client Backup Request Lost" Binary annotations for - "clnt/backup_request_threshold_ms" with the current value of the latency threshold, in milliseconds - "clnt/backup_request_span_id" with the span id of the backup request JIRA Issues: CSL-7731, CSL-7593 Differential Revision: https://phabricator.twitter.biz/D280998
- Loading branch information
1 parent
1867976
commit 5201f62
Showing
9 changed files
with
186 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.