mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 07:01:01 +00:00
Add errantly removed pathParts definition
This commit is contained in:
parent
14920758aa
commit
fc33f7ea66
1 changed files with 1 additions and 0 deletions
|
|
@ -302,6 +302,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
// Calculate per request StatsD metrics when the handler is fully configured.
|
||||
statsTags := make([]string, 0, 4)
|
||||
|
||||
pathParts := strings.Split(r.URL.Path, "/")
|
||||
longQueryTime := h.api.LongQueryTime()
|
||||
if longQueryTime > 0 && dif > longQueryTime {
|
||||
h.logger.Printf("%s %s %v", r.Method, r.URL.String(), dif)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue