-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(spanner): add support of client side native metrics collection …
…and export (#10419) * chore(spanner): add support of client side native metrics collection and export * fix build * fix header issue * fix tests * fix client_uid, client_name and method signature. * fix directpath_used var too correct extract peerInfo, and capture streaming native metrics when stream ends, * remove dep on grpc_go_middleware * use grpc connection target to check if direct path is enabled. * refactor as per suggestions * fix header * fix tests * return wrappedStream from stream interceptor to fix peerInfo not available before Send * fix tests * fix tests * skip holding client connection on wrapper * do not emil metrics if env is not set * fix tests * mark env to enable native metrics as experimental * add resource label client_hash and updated export duration to 1 minutes * fix tests
- Loading branch information
Showing
22 changed files
with
1,713 additions
and
73 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
Oops, something went wrong.