#920 Add exception count per worker.

This commit is contained in:
Auke Willem Oosterhoff 2016-04-14 13:09:07 +02:00
parent 755332a458
commit a577420536
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ type Worker struct {
Accepting int `json:"accepting"`
Requests int `json:"requests"`
DeltaRequests int `json:"delta_requests"`
Exceptions int `json:"exceptions"`
HarakiriCount int `json:"harakiri_count"`
Signals int `json:"signals"`
SignalQueue int `json:"signal_queue"`

View File

@ -98,6 +98,7 @@ func (u *Uwsgi) gatherWorkers(acc telegraf.Accumulator, s *StatsServer) error {
"requests": w.Requests,
"accepting": w.Accepting,
"delta_request": w.DeltaRequests,
"exceptions": w.Exceptions,
"harakiri_count": w.HarakiriCount,
"signals": w.Signals,
"signal_queue": w.SignalQueue,