stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

Track metrics in the bounties platform (Postgres) #768

Closed ecurrencyhodler closed 10 months ago

ecurrencyhodler commented 1 year ago

I'd like for us to start tracking key events. This will require more scope but here are a few to start:

Feature brief: Bounties are new way of working, so we want to learn as much as we can about the process of creating and completing bounties. Metrics provide a top down factual view of results. User interviews would provide more qualitative information.

Architecture: Redis vs. gocache?

Metrics v1

v.2 for super admin

ecurrencyhodler commented 1 year ago

@kevkevinpal Based on our convo today, is there a basic strategy around how we would want to implement this? Are we going to go with redis or gocash?

kevkevinpal commented 1 year ago

@kevkevinpal Based on our convo today, is there a basic strategy around how we would want to implement this? Are we going to go with redis or gocash?

with my convo with Gonza we can use the interface with gocache to either use redis if we provide the env vars or fall back to a local gocache if a redis instance is not defined in the env vars

elraphty commented 11 months ago

Figma design https://www.figma.com/file/jM4BZzPfN8K5tAUbl7gGoO/People.Sphinx-%5BDRAFTS%5D?type=design&node-id=6636-19632&mode=design&t=MnYGEQAd9Ae3jmJY-0

ecurrencyhodler commented 11 months ago

Edit: Sorry let's use the timestamp of date bounty is posted as our reference for the sorting of the "last 30 days" button on the top right @elraphty

elraphty commented 11 months ago

Yeah, using the bounty posted date timestamp works.

ecurrencyhodler commented 11 months ago

@elraphty sorry. Can we make sure to track Date bounty was assigned?