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

Admin log interface: filters for client/server logs #5485

Open
JohnXLivingston opened this issue Dec 28, 2022 · 5 comments
Open

Admin log interface: filters for client/server logs #5485

JohnXLivingston opened this issue Dec 28, 2022 · 5 comments

Comments

@JohnXLivingston
Copy link
Contributor

Describe the problem to be solved

With recent Peertube version, it is possible to get client logs and store them on the server.

Yesterday, I was looking for error logs on the server, and they were hidden in the middle of a lot of client logs.

Describe the solution you would like

When reading logs on https://my_instance.tld/admin/system/logs, it would be very helpfull to have quick filters for:

  • see only server logs
  • see only client logs
@kontrollanten
Copy link
Contributor

Hi! I'm wondering if all monitoring, etc should be moved out of PeerTube and instead promote usage of Grafana as visualization. Grafana is built for this kind of usage and has a lot of more sophisticated tools of analyzing.

It's nice that PeerTube has some kind of easy monitoring tools out of the box, but maybe we could change that to a docker-compose.yml that will setup Grafana, Prometheus, Loki and Tempo.

@JohnXLivingston
Copy link
Contributor Author

Hi! I'm wondering if all monitoring, etc should be moved out of PeerTube and instead promote usage of Grafana as visualization. Grafana is built for this kind of usage and has a lot of more sophisticated tools of analyzing.

One does not prevent the other.
In fact, there are already such possibilities:

It's nice that PeerTube has some kind of easy monitoring tools out of the box, but maybe we could change that to a docker-compose.yml that will setup Grafana, Prometheus, Loki and Tempo.

IMHO, the role of the Peertube documentation is not to document how to install these systems. It could only result in outdated documentation.
Moreover, Docker is not the only way to setup Peertube.

@kontrollanten
Copy link
Contributor

To clarify; my proposal is that PeerTube removes all logging visualization in the web client, and instead refers to Grafana.

@Chocobozzz
Copy link
Owner

I think we should keep a simple interface to view logs on PeerTube: it help to maintain the software and answer to questions/issues because some admins don't even know where PeerTube logs are on their system. Having this web interface simplifies pasting logs from admin etc.

@JohnXLivingston
Copy link
Contributor Author

I totally agree with @Chocobozzz
Moreover, it makes it simplier for admin to see log where there is an urgent problem, with their smartphones, when they have no access to other logging systems.

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