Why Nostr? What is Njump?
2023-10-07 23:37:57

asone on Nostr: #NIP-56 on #grafana : I currently find many limitations to monitor the NIP-56 content ...

#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.
Author Public Key
npub10fd0ncqmzd6q3e7t9kzlh82asw2jj7kpn7hjvcrfhq4uyzc4dpvsxtvn3n