Conversation
|
hello @amir-devman please review if this API is sufficient for your usecase as well. the implementation looks fine to me at a glance, as it is disabled by default performance doesn't seem critical. |
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
That is a good option |
|
Looks good to me! Thanks for the effort to move to API solution. I will close #2277 for now |
that's a good idea, checking what i can do. |
|
Cannot Checking Number User Online Stats While Using Xray Fallback Xtls Vision 443 ===
The output indicates that the user is online but does not show the expected value for the number ip login. |
|
@hossinasaadi Can you help to resolve conflict? I think it is time to merge |
|
is it possible to get all users online stats with single request ? |
|
在某些场景下,使用示例中的基础配置时,会周期性地出现以下结果: |
|
@iambabyninja can you try if this fix the issue? https://github.com/XTLS/Xray-core/actions/runs/12577069437 |
* add statsUserOnline bool to policy * add OnlineMap struct to stats * apply UserOnline functionality to dispatcher * add statsonline api command * fix comments * Update app/stats/online_map.go Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com> * improve AddIP * regenerate pb --------- Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
implement custom counter for ips connected to each client by email
this implementation based on #2277 (comment) discussion and may needs some review to improve and suggestions.
@mmmray @yuhan6665