#920 Add exception count per worker.
This commit is contained in:
parent
7dab44c028
commit
ce8761048d
|
@ -27,6 +27,7 @@ type Worker struct {
|
||||||
Accepting int `json:"accepting"`
|
Accepting int `json:"accepting"`
|
||||||
Requests int `json:"requests"`
|
Requests int `json:"requests"`
|
||||||
DeltaRequests int `json:"delta_requests"`
|
DeltaRequests int `json:"delta_requests"`
|
||||||
|
Exceptions int `json:"exceptions"`
|
||||||
HarakiriCount int `json:"harakiri_count"`
|
HarakiriCount int `json:"harakiri_count"`
|
||||||
Signals int `json:"signals"`
|
Signals int `json:"signals"`
|
||||||
SignalQueue int `json:"signal_queue"`
|
SignalQueue int `json:"signal_queue"`
|
||||||
|
|
|
@ -102,6 +102,7 @@ func (u *Uwsgi) gatherWorkers(acc telegraf.Accumulator, s *StatsServer) error {
|
||||||
"requests": w.Requests,
|
"requests": w.Requests,
|
||||||
"accepting": w.Accepting,
|
"accepting": w.Accepting,
|
||||||
"delta_request": w.DeltaRequests,
|
"delta_request": w.DeltaRequests,
|
||||||
|
"exceptions": w.Exceptions,
|
||||||
"harakiri_count": w.HarakiriCount,
|
"harakiri_count": w.HarakiriCount,
|
||||||
"signals": w.Signals,
|
"signals": w.Signals,
|
||||||
"signal_queue": w.SignalQueue,
|
"signal_queue": w.SignalQueue,
|
||||||
|
|
Loading…
Reference in New Issue