func requestAttributes()

in pkg/api/api.go [311:316]


func requestAttributes(r *http.Request) attribute.Set {
	return attribute.NewSet(
		attribute.String("user_agent", r.UserAgent()),
		attribute.String("path", r.URL.Path),
	)
}