1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00

Fix typo trace.Exporter to trace.SpanSyncer (#653)

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
This commit is contained in:
NiaoGe 2020-04-22 11:34:53 +08:00 committed by GitHub
parent ddad4d45ae
commit d20fc722f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ type Process struct {
Tags []core.KeyValue Tags []core.KeyValue
} }
// Exporter is an implementation of trace.Exporter that uploads spans to Jaeger. // Exporter is an implementation of trace.SpanSyncer that uploads spans to Jaeger.
type Exporter struct { type Exporter struct {
process *gen.Process process *gen.Process
bundler *bundler.Bundler bundler *bundler.Bundler

View File

@ -33,7 +33,7 @@ type Options struct {
PrettyPrint bool PrettyPrint bool
} }
// Exporter is an implementation of trace.Exporter that writes spans to stdout. // Exporter is an implementation of trace.SpanSyncer that writes spans to stdout.
type Exporter struct { type Exporter struct {
pretty bool pretty bool
outputWriter io.Writer outputWriter io.Writer