From bf2e5e9f09273c10381bdac1df2f5e5fc40dc7b3 Mon Sep 17 00:00:00 2001 From: Alyson van Hardenberg Date: Fri, 4 Oct 2019 12:05:24 -0700 Subject: [PATCH] update client and server example comments (#170) --- example/http/client/client.go | 2 +- example/http/server/server.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/http/client/client.go b/example/http/client/client.go index 325f7c3d8..a7b02b7be 100644 --- a/example/http/client/client.go +++ b/example/http/client/client.go @@ -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) diff --git a/example/http/server/server.go b/example/http/server/server.go index a9bb712aa..f47673161 100644 --- a/example/http/server/server.go +++ b/example/http/server/server.go @@ -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)