https://github.com/bleetube/nostream_exporter (work in progress)
To start it is exporting one metric, the total count of events in the events table. I have select queries to add in for these metrics as well:
- top events by kind
- top talker users by pubkey all time
- top talker users by pubkey recently
- count of paid users
I'll implement those and add in more as time permits. I'll also put together a grafana dashboard to chart them out. And if I think of any good metrics to alert on using alertmanager, I'll add those to the repo as well. Might be nice to send myself an alert if a user is spamming the relay, for instance.