Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
13.04k stars 1.5k forks source link

Add stats page #1944

Closed bristow closed 4 years ago

bristow commented 5 years ago

It would be useful for admins to have a page with stats :

I think a lot of informations are already presents on instance because we have this page : https://instances.joinpeertube.org/instances

what do you think about that ?

JohnXLivingston commented 5 years ago

You can find some informations on this api endpoint: /api/v1/server/stats (for example: https://www.yiny.org/api/v1/server/stats).

For disk and ram usage, you should use monitoring systems (for example munin). Peertube should not give this kind of information.

bristow commented 5 years ago

So, implementing this page could be made easier.

What is 'totalLocalVideoFilesSize' ?

duprej commented 5 years ago

It's not the purpose of Peertube to show disk usage / ram usage informations, is a part for a monitoring tool. Besides Munin, check about phpSysInfo. https://github.com/phpsysinfo/phpsysinfo

Chocobozzz commented 5 years ago

In fact I think we could put this information in the about page (maybe in another tab).

What is 'totalLocalVideoFilesSize'

It represents the total of video bytes that your instance stores (does not take into account redundancy). Used in https://instances.joinpeertube.org/instances/stats

JohnXLivingston commented 4 years ago

I think this issue can be closed with the version 2.0.0

bristow commented 4 years ago

Yes :+1: