stakwork / sphinx-relay

Node.js wrapper for communication between sphinx client and lightning node.
MIT License
250 stars 70 forks source link

Get stats to measure TRIBES success rate #798

Open Analysislearning opened 5 months ago

Analysislearning commented 5 months ago

As TRIBE PM, I need a way to see the metrics to measure success of TRIBES in Sphinx Chat. This will allow TRIBES PM to understand conversion rate from the marketing campaigns and outreach efforts.

STATS:

  1. How many TRIBES exist in Sphinx chat under Sphinx nodes?
    • Total amount TRIBES
    • Total amount of Messages in TRIBES
    • Total amount of Payments in TRIBES (transactions in the lightning network)
  2. How many TRIBES under Sphinx nodes are ACTIVE?
    • Date of last message of a Tribe
    • Name or link of Tribes that are ACTIVE
    • Total amount of Messages of the ACTIVE tribe
    • Total amount of Payments of the ACTIVE tribe (transactions in the lightning network)

Deliverables/ Phasing: v1 - get stats via dev v2 - periodically get stats to understand changes via dev v3 - build a UI somewhere or automate an email that you can trigger to understand stats without having to have a dev do it (once its built)

Evanfeenstra commented 5 months ago

tribe stats

user stats

Analysislearning commented 4 months ago

@Evanfeenstra Can we please get,

Count of total messages in TRIBES?

Messages count of total TRIBES ? Messages count of active TRIBES ? Messages count of Lite Node TRIBES ? Messages count of Full nodes TRIBES ?   Messages count of the largest TRIBE ?   and ,

Count of feature usage (from most popular to least popular)??

and,

Count of top 10 recent active TRIBES?

and,

Count of top 10 largest members in TRIBES?