Also return a current peak listeners number.
This commit is contained in:
parent
cf90bba297
commit
08203c4be0
@ -86,8 +86,10 @@ func (l *ListenerCounter) MarshalJSON() ([]byte, error) {
|
|||||||
Current int64 `json:"current"`
|
Current int64 `json:"current"`
|
||||||
Peak int64 `json:"peak"`
|
Peak int64 `json:"peak"`
|
||||||
Overall int64 `json:"overall"`
|
Overall int64 `json:"overall"`
|
||||||
|
CurPeak int64 `json:"current_peak"`
|
||||||
}{
|
}{
|
||||||
Current: l.current,
|
Current: l.current,
|
||||||
Peak: l.peak,
|
Peak: l.peak,
|
||||||
Overall: l.overall})
|
Overall: l.overall,
|
||||||
|
CurPeak: l.cur_peak})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user