#920 Add exception count per worker.
This commit is contained in:
parent
755332a458
commit
a577420536
|
@ -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"`
|
||||||
|
|
|
@ -98,6 +98,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