Skip to content

Commit fd774bd

Browse files
committed
backend: remove public API option from tracing mw
1 parent 77b34cf commit fd774bd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

backend/internal/tracing/tracing.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ func NewMiddleware[R Route, S Server[R]](finder S) func(http.Handler) http.Handl
118118
return func(next http.Handler) http.Handler {
119119
return otelhttp.NewHandler(next, "",
120120
otelhttp.WithServerName("offi"),
121-
otelhttp.WithPublicEndpoint(),
122121
otelhttp.WithSpanNameFormatter(func(operation string, r *http.Request) string {
123122
route, ok := finder.FindPath(r.Method, r.URL)
124123
if !ok {

0 commit comments

Comments
 (0)