-
Notifications
You must be signed in to change notification settings - Fork 40.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid capturing URI template when interceptor won't use it
Previously, the URI template handler installed by the client metrics interceptor would always capture the URI template and push it onto the deque, irrespective of whether auto timing was enabled. When auto-timing is disabled the deque is never polled so this led to its unrestricted growth. This commit updates the URI template handler so that a URI template is only pushed onto the deque when the auto timing configuration enables the interceptor. Fixes gh-26915
- Loading branch information
1 parent
93fd7c6
commit fe078c8
Showing
2 changed files
with
47 additions
and
4 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