File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
third-party/thrift/src/thrift/lib/go/thrift/stats Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,7 @@ func (stats *ServerStats) GetInts() map[string]int64 {
74
74
// server event counters
75
75
periodStr := fmt .Sprintf ("%d" , stats .statsPeriod / time .Second )
76
76
77
- s := stats .ClientClosed .MustSummarize (stats .statsPeriod )
78
- ints ["connections.client_ended." + periodStr ] = int64 (s .Count )
79
- s = stats .PanicCount .MustSummarize (stats .statsPeriod )
77
+ s := stats .PanicCount .MustSummarize (stats .statsPeriod )
80
78
ints ["requests.processor_panics." + periodStr ] = int64 (s .Count )
81
79
82
80
return ints
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ func TestStats(t *testing.T) {
29
29
30
30
ints := stats .GetInts ()
31
31
expectedInts := map [string ]int64 {
32
- "connections.client_ended.60" : 0 ,
33
32
"requests.processor_panics.60" : 0 ,
34
33
"requests.scheduling_work" : 0 ,
35
34
"requests.scheduling_write" : 0 ,
You can’t perform that action at this time.
0 commit comments