First results of grafana dashboard for nostr-rs-relay
It ain't much (yet) but it's honest work
#nostr #relay

First results of grafana dashboard for nostr-rs-relay
It ain't much (yet) but it's honest work
#nostr #relay

You are putting it in a repo or something? 👀 nice work 👏👏👏
I'll probably share it in a gist once I get a bit further and make it more readable.
At this point I'm mostly checking how to manipulate the data to extract interesting values.
But yeah, that's the plan. Community iteration could be really interesting as it would provide a valuable and easily actionable tool to monitor relays even for non tech savys
Brutal 👏👏👏
What exporter are you using to scrap the data?
I'm using the SQLite plugin for grafana and connecting it directly to the SQLite db the relay creates by default
How are you querying users names? Does the database store that info? I thought it was just npubs in hex? Or are you manually adding user names?
The relay provides a table for users that broadcast metadata update on the relay.
What I did is to fetch the username if the npub did an update of the metadata on the relay, otherwise the pubkey of the user is displayed as hex.