Let's instrument the search string with the duration

This commit is contained in:
Las Zenow 2017-06-06 14:40:59 +00:00
parent 5eca3843cc
commit c6354c46c8
4 changed files with 7 additions and 7 deletions

View file

@ -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)