aboutsummaryrefslogtreecommitdiff
path: root/vendor/go.opencensus.io/trace/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.opencensus.io/trace/doc.go')
-rw-r--r--vendor/go.opencensus.io/trace/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/go.opencensus.io/trace/doc.go b/vendor/go.opencensus.io/trace/doc.go
index a2b54e5..db00044 100644
--- a/vendor/go.opencensus.io/trace/doc.go
+++ b/vendor/go.opencensus.io/trace/doc.go
@@ -42,7 +42,7 @@ It is common to want to capture all the activity of a function call in a span. F
this to work, the function must take a context.Context as a parameter. Add these two
lines to the top of the function:
- ctx, span := trace.StartSpan(ctx, "my.org/Run")
+ ctx, span := trace.StartSpan(ctx, "example.com/Run")
defer span.End()
StartSpan will create a new top-level span if the context