Instrument with less labels and more focused metrics
This commit is contained in:
parent
455fb65e77
commit
ab9c5281a5
2 changed files with 33 additions and 11 deletions
10
lib/stats.go
10
lib/stats.go
|
@ -120,11 +120,11 @@ func (sg StatsGatherer) worker() {
|
|||
}
|
||||
|
||||
sg.instrument.Request(instrument.RequestData{
|
||||
Section: section,
|
||||
ID: id,
|
||||
Search: search,
|
||||
Fmt: fmt,
|
||||
Duration: req.duration
|
||||
Section: section,
|
||||
ID: id,
|
||||
Search: search,
|
||||
Fmt: fmt,
|
||||
Duration: req.duration,
|
||||
})
|
||||
switch section {
|
||||
case "download":
|
||||
|
|
Reference in a new issue