Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get STUN/TURN usage statistics from ejabberdctl #3441

Open
ghost opened this issue Dec 7, 2020 · 1 comment
Open

Get STUN/TURN usage statistics from ejabberdctl #3441

ghost opened this issue Dec 7, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 7, 2020

Is your feature request related to a problem? Please describe.
At this time, there is no way to get stats or usage statistics from ejabberdctl about STUN/TURN features.

Describe the solution you'd like
It would be good (I think) that one could retrieve information similar to what one can retrieve with XMPP, on the use of STUN/TURN, with ejabberdctl commands, such as (but not limited to) total/average data relayed, average link duration, per user stats, etc

Describe alternatives you've considered
The only way to do something related is to change the log verbosity to 'info' and grep "Offering STUN/TURN" or "Relayed" to obtain some incomplete infos.

Additional context
I am co-administrator of the chapril.org XMPP server, which is open to the public, and we recently configured the server to support audio/video calls.

Thank you very much,
Regards

@ghost ghost added the Kind:Feature label Dec 7, 2020
@weiss
Copy link
Member

weiss commented Dec 30, 2021

Since ejabberd 20.07, you should at least see log lines such as the following (with loglevel: info):

Relayed 110 KiB (in 47665 B / 639 packets, out 64823 B / 681 packets), duration: 10 seconds [UDP, session e42f, user 1724724987:11cd2714a56deffb, client [2001:db8::4]:44875, relay 203.0.113.4:60008]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants