Let's instrument the search string with the duration
This commit is contained in:
parent
5eca3843cc
commit
c6354c46c8
4 changed files with 7 additions and 7 deletions
|
@ -120,7 +120,7 @@ func (sg StatsGatherer) worker() {
|
|||
}
|
||||
|
||||
sg.instrument.Visit(section, id, search, fmt)
|
||||
sg.instrument.Duration(section, req.duration*time.Microsecond)
|
||||
sg.instrument.Duration(section, search, req.duration)
|
||||
switch section {
|
||||
case "download":
|
||||
err = sg.db.IncDownloads(id)
|
||||
|
|
Reference in a new issue