Skip to content

Commit

Permalink
Clean comments
Browse files Browse the repository at this point in the history
  • Loading branch information
XSAM committed Aug 10, 2022
1 parent 996f7b2 commit 546f3e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
4 changes: 2 additions & 2 deletions option.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 546f3e8

Please sign in to comment.