diff --git a/config.go b/config.go index 7c18fcc..c4854b1 100644 --- a/config.go +++ b/config.go @@ -58,8 +58,8 @@ type config struct { // Default use method as span name SpanNameFormatter SpanNameFormatter - // SQLCommenterEnabled enables context propagation for SQL statements - // by injecting a comment into the SQL statement. + // SQLCommenterEnabled enables context propagation for database + // by injecting a comment into SQL statements. // // Experimental // diff --git a/option.go b/option.go index b6b19da..47adab2 100644 --- a/option.go +++ b/option.go @@ -73,8 +73,8 @@ func WithMeterProvider(provider metric.MeterProvider) Option { }) } -// WithSQLCommenter will enable or disable context propagation for SQL statements -// by injecting a comment into the SQL statement. +// WithSQLCommenter will enable or disable context propagation for database +// by injecting a comment into SQL statements. // // e.g., a SQL query // SELECT * from FOO