Skip to content

Commit

Permalink
Report top duration query range
Browse files Browse the repository at this point in the history
  • Loading branch information
alpinskiy committed Nov 27, 2024
1 parent 84e11c8 commit 6673eeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/api/http_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ func DumpQueryTopDuration(r *httpRequestHandler) {
}
w.Write([]byte(v.expr))
w.Write([]byte(fmt.Sprintf(
"\n# duration=%v token=%s proto=%s\n\n",
v.duration, v.user, protocol)))
"\n# duration=%v from=%d to=%d range=%d token=%s proto=%s\n\n",
v.duration, v.start, v.end, v.end-v.start, v.user, protocol)))
}
}

Expand Down

0 comments on commit 6673eeb

Please sign in to comment.