diff --git a/instrumentation/database/sql/splunksql/config.go b/instrumentation/database/sql/splunksql/config.go index 4da93627d..81c71bd12 100644 --- a/instrumentation/database/sql/splunksql/config.go +++ b/instrumentation/database/sql/splunksql/config.go @@ -48,6 +48,7 @@ func (c config) tracer(ctx context.Context) trace.Tracer { // withClientSpan wraps the function f with a span. func (c config) withClientSpan(ctx context.Context, name moniker.Span, f func(context.Context) error, opts ...trace.SpanStartOption) error { + // From the specification: span kind MUST always be CLIENT. opts = append(opts, trace.WithSpanKind(trace.SpanKindClient)) var (