Skip to content

Commit

Permalink
update client and server example comments (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
akvanhar authored and rghetia committed Oct 4, 2019
1 parent b5c984b commit bf2e5e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/http/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func initTracer() {
log.Fatal(err)
}

// Wrap Jaeger exporter with SimpleSpanProcessor and register the processor.
// Wrap stdout exporter with SimpleSpanProcessor and register the processor.
ssp := sdktrace.NewSimpleSpanProcessor(exporter)
sdktrace.RegisterSpanProcessor(ssp)

Expand Down
4 changes: 2 additions & 2 deletions example/http/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ import (
func initTracer() {
sdktrace.Register()

// Create Jaeger exporter to be able to retrieve
// Create stdout exporter to be able to retrieve
// the collected spans.
exporter, err := stdout.NewExporter(stdout.Options{PrettyPrint: true})
if err != nil {
log.Fatal(err)
}

// Wrap Jaeger exporter with SimpleSpanProcessor and register the processor.
// Wrap stdout exporter with SimpleSpanProcessor and register the processor.
ssp := sdktrace.NewSimpleSpanProcessor(exporter)
sdktrace.RegisterSpanProcessor(ssp)

Expand Down

0 comments on commit bf2e5e9

Please sign in to comment.