v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

statistics API Unusual

Open valiner opened this issue 8 months ago • 1 comments

version v5.2.1

I'm using the statistics API of v2fly. When the traffic is large, the traffic statistics are reset to 0 after a period of time. I've looked through the source code:

type Manager struct { access sync.RWMutex counters map[string]*Counter channels map[string]*Channel running bool }

I didn't find any operation to clear the counters. Can anyone tell me why?

valiner avatar Jun 25 '24 12:06 valiner