Skip to content

Commit

Permalink
Update instrumentation/github.com/gin-gonic/gin/otelgin/option.go
Browse files Browse the repository at this point in the history
Co-authored-by: Damien Mathieu <[email protected]>
  • Loading branch information
flc1125 and dmathieu authored Nov 29, 2024
1 parent 147bf31 commit c6621cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instrumentation/github.com/gin-gonic/gin/otelgin/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func WithGinFilter(f ...GinFilter) Option {

// WithSpanNameFormatter takes a function that will be called on every
// request and the returned string will become the Span Name.
// Deprecated: since 0.58.0, remove in 0.59.0.
// Deprecated: [0.58.0] the span name now follows semantic conventions.
func WithSpanNameFormatter(func(r *http.Request) string) Option {
return optionFunc(func(*config) {})
}

0 comments on commit c6621cf

Please sign in to comment.