Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firestore: add tracing for exported RPC-making methods
Adds tracing with OpenCensus for exported methods that make RPCs. Since the methods have different receivers, their spans have varying basename prefixes e.g. * "cloud.google.com/go/firestore.DocumentRef.Get" * "cloud.google.com/go/firestore.Transaction.Rollback" * "cloud.google.com/go/firestore.WriteBatch.Commit" Fixes #1375 Change-Id: I7734fb529dd5d2c5559c25ba6634baa26fc4428f Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/39590 Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jean de Klerk <deklerk@google.com>
- Loading branch information
Showing
4 changed files
with
37 additions
and
10 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