I've been running nostr-rs-relay since the very start but it doesn't have support for data collection/analysis AFAIKø

Reply to this note

Please Login to reply.

Discussion

What kind of stuff are you looking to analyse?

You can use rust with Prometheus crate to collect data for Grafana which is cool.

I’m slowly adding more operational metrics, mostly to understand scaling, growth and performance. And monitor/detect malicious actors.

> Mostly curious the frequency, types, and shape of all the 'REQ' queries relays get.

>

> Nostr band dev was telling me the read ratios were like 10k read requests for every write.

I'm not too sure actually on specific metrics but anything that would give me insights into what is going on so that I can react and improve.

Thanks! I wonder what the best way to approach query stats are. Naive thing would just be to record all queries then analyze periodically.