I am wondering though if it wouldn't be easier to provide monitoring for that kind of the reported content on #relays with postures.
Also I'd like to check how to extract raw logs for monitoring.
#nostr #relay #monitoring
#NIP-56 on #grafana :


I currently find many limitations to monitor the NIP-56 content :
- The tag data store structure in the event table is cumbersome to manipulate and the tag table does not provide the NIP-56 tags itself.
- There are different types of report with different data structures to handle
with CASE WHEN instructions in query.
- The events tags can be declared in any order making it difficult with SQLite to filter out the Json content.
- Grafana does not provide hex to bech32 transformations
Those limitations lead me for now to a probably too complex query with small readibility :
https://gist.github.com/Asone/0b89b834e0aba30a54c61927425b8f25
It provides, however, a tool for reporting and moderation, and a base to build other metrics around NIP-56 tags and 1984 event kind.
I am wondering though if it wouldn't be easier to provide monitoring for that kind of the reported content on #relays with postures.
Also I'd like to check how to extract raw logs for monitoring.
#nostr #relay #monitoring
No replies yet.