Are the statistics you want to monitor available now over https queries? In logs somewhere?
Basically with Prometheus you start with “there exists a metric/statistic that can be queried”, then you start having Prometheus query it by adding it to the configuration. However, it’s really a Prometheus Problem when you’re talking about updating everything every minute or second, usually when checking across many or all hosts. A daily or hourly query in Prometheus across a whole wiki not on each host is really kind of silly. It can do that, sure, but maybe you do just use a script instead? If the standard now is Prometheus Everything then I guess that’s ok, but figuring out where to source the metrics is the next problem. Implementation after that is fairly easy… -george Sent from my iPhone > On May 1, 2025, at 6:40 AM, Roy Smith <r...@panix.com> wrote: > > I want to build something to monitor the [[WP:DYK]] system on enwiki. I > want to look at the length of various queues: nominations, approved > nominations, number of hook sets ready for publication, perhaps a few more. > Update times will be perhaps as low as once per day, certainly no faster than > once per hour. Initially all I want to do is graph these. Eventually I > might want to do some alerting. > > In the old days, I would just have a simple script that threw some numbers as > statsd. Looking at https://wikitech.wikimedia.org/wiki/Prometheus, it looks > like that translates into using the pushgateway, but it's far from clear what > I need to do to set this up. The docs talk about puppet, and certificates. > Can somebody walk me through the setup? > > > _______________________________________________ > Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org > To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org > https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
_______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/