Skip to content

Commit

Permalink
fix: OTEL_TRACES_EXPORTER typo (#5686)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
sysulq and MrAlias authored May 30, 2024
1 parent 505075e commit db38424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/autoexport/spans.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewSpanExporter(ctx context.Context, opts ...SpanOption) (trace.SpanExporte
}

// RegisterSpanExporter sets the SpanExporter factory to be used when the
// OTEL_TRACES_EXPORTERS environment variable contains the exporter name. This
// OTEL_TRACES_EXPORTER environment variable contains the exporter name. This
// will panic if name has already been registered.
func RegisterSpanExporter(name string, factory func(context.Context) (trace.SpanExporter, error)) {
must(tracesSignal.registry.store(name, factory))
Expand Down

0 comments on commit db38424

Please sign in to comment.