From: Alexandre IOOSS <erdnaxe@crans.org> To: "Juliusz Chroboczek" <jch@irif.fr>, "Dernat Rémy" <remy.dernat@umontpellier.fr> Cc: galene@lists.galene.org Subject: [Galene] Re: Statistics [was: Installation Script] Date: Mon, 12 Apr 2021 18:44:01 +0200 [thread overview] Message-ID: <6dc12b35-3a3f-7472-5672-bcf94d0f4e95@crans.org> (raw) In-Reply-To: <87eeffr2cp.wl-jch@irif.fr> On 4/12/21 4:42 PM, Juliusz Chroboczek wrote: >> Would it be possible (if it is not already possible) to add these kind of >> data/output in a log flat file ? > > Similar things have been discussed before, see for example here: > > https://github.com/jech/galene/pull/23 > > The problem is that nobody seems to have a clear idea what statistics need > to be provided, and how to provide statistics without sacrificing user > privacy -- I administer three instances of Galène right now, and I don't > want to know who is having a discussion with whom, it's none of my business. What about showing on /stats: * Total number of users that joined a group since the instance started (incremental counter), * Total number of audio/video streams since the instance started, * Total connection to the TURN since the instance started, * Min/Max/Average RTT (this would be CPU heavy...?). I believe we don't want to expose more as it would introduce privacy concerns. > What is more, Galène is designed to scale well on multicore systems, and > the patches to add statistics tend to introduce additional points of > contention. (Since Go doesn't provide either CPU-local or thread-local > data, you'll need to implement sharding at the application level.) `/stats` already exists. We could make it more easy to parse by a script. Do we need HTML on this page? I am not really fan of having Galène pushing logs to a file, I would much rather keep the current "pull" system in which an admin has to go to `/stats`. It is then possible to fetch this page and save it to a log file (e.g. cron, systemd timer, monitoring system...). Best, -- Alexandre
next prev parent reply other threads:[~2021-04-12 16:44 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-09 14:37 [Galene] Galene Turn Fabrice Rouillier 2021-04-09 15:12 ` [Galene] " Alexandre IOOSS 2021-04-09 15:32 ` Fabrice Rouillier 2021-04-09 15:37 ` Fabrice Rouillier 2021-04-09 17:07 ` Alexandre IOOSS 2021-04-09 17:36 ` Fabrice Rouillier 2021-04-09 18:17 ` Fabrice Rouillier 2021-04-10 14:19 ` Juliusz Chroboczek 2021-04-10 14:41 ` Fabrice Rouillier 2021-04-12 7:10 ` [Galene] Installation Script Fabrice Rouillier 2021-04-12 7:56 ` [Galene] " Rémy Dernat 2021-04-12 8:07 ` Antonin Décimo 2021-04-12 8:47 ` Rémy Dernat 2021-04-12 11:31 ` Juliusz Chroboczek 2021-04-12 12:25 ` Dernat Rémy 2021-04-12 14:42 ` [Galene] Statistics [was: Installation Script] Juliusz Chroboczek 2021-04-12 15:38 ` [Galene] " Dernat Rémy 2021-04-12 16:07 ` Juliusz Chroboczek 2021-04-12 15:45 ` [Galene] Re: Statistics Michael Ströder 2021-04-12 16:10 ` Juliusz Chroboczek 2021-04-12 16:19 ` Michael Ströder 2021-04-12 16:44 ` Alexandre IOOSS [this message] 2021-04-13 7:16 ` [Galene] Re: Statistics [was: Installation Script] Dernat Rémy 2021-04-13 10:20 ` Juliusz Chroboczek 2021-04-13 12:02 ` Dernat Rémy 2021-04-13 12:11 ` Juliusz Chroboczek 2021-04-13 12:38 ` Dernat Rémy 2021-04-13 12:58 ` Michael Ströder 2021-04-12 9:49 ` [Galene] Re: Installation Script Fabrice Rouillier 2021-04-12 11:30 ` Juliusz Chroboczek 2021-04-12 14:40 ` Fabrice Rouillier 2021-04-12 14:44 ` Juliusz Chroboczek 2021-04-12 15:01 ` Toke Høiland-Jørgensen 2021-04-12 15:11 ` Michael Ströder 2021-04-12 15:17 ` Fabrice Rouillier 2021-04-12 15:14 ` [Galene] ephemeral port range config Michael Ströder 2021-04-13 7:09 ` [Galene] Re: Installation Script Fabrice Rouillier
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=6dc12b35-3a3f-7472-5672-bcf94d0f4e95@crans.org \ --to=erdnaxe@crans.org \ --cc=galene@lists.galene.org \ --cc=jch@irif.fr \ --cc=remy.dernat@umontpellier.fr \ --subject='[Galene] Re: Statistics [was: Installation Script]' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox