Trustroots / trustroots

Travellers' community for sharing, hosting and getting people together.
https://www.trustroots.org
GNU Affero General Public License v3.0
398 stars 136 forks source link

Add more data to daily snapshot statistics #755

Closed simison closed 9 months ago

simison commented 6 years ago

Add daily snapshot statistics for:


Technical guide

In modules/statistics/server/controllers/statistics.server.controller.js we have methods for each stat.

In modules/statistics/server/jobs/daily-statistics.server.job.js we run a daily job to store these to Influx DB.

Stats are stored in InfluxDB so you'll likely need to set up and configure one at your dev machine. We'll be pulling these stats out to Grafana (https://grafana.trustroots.org/).

One PR doesn't need to add everything; it's easier to review if one PR adds one new stat.

simison commented 6 years ago

@guaka:

1) Thread references:

Thread references. Folks can give "no" or "yes" reply to message threads: We're interested in following percentage of negative replies compared to number of message threads

Anything else would useful to know about this? Group them by user ID somehow?

2) Some useful snapshot statistics about seen, updated, created vs time right now? Any ideas? Would be nice to have something that's not always just trending upwards because number of members is always going to trend. https://github.com/Trustroots/trustroots/blob/a6f5ae3864125a134f60c06f69003e8f501b0c91/modules/users/server/models/user.server.model.js#L225-L235

3) Anything else we want to snapshot-measure?

simison commented 6 years ago

There's a good start for last-seen stats at https://github.com/Trustroots/trustroots/pull/616 by @trmendes

guaka commented 6 years ago

can we do some of these:


Ideally our future awesome metrics will be somehow related to:

So we should know whether an experience is positive or negative after someone enter data #718.

(These metrics are in sharp contrast to FAANG that are optimizing to keep people on their website/app. https://humanetech.com/)

guaka commented 5 years ago

Another metric I thought that will be important: the percentage of members in the hitchhiking tribe. If we want to be a social network for not just hitchhikers this number should go down to <10% at some point.

simison commented 5 years ago

the percentage of members in the hitchhiking tribe. If we want to be a social network for not just hitchhikers this number should go down to <10% at some point.

Very cool idea!

On 20 Nov 2018, at 23:39, Guaka notifications@github.com wrote:

Another metric I thought that will be important: the percentage of members in the hitchhiking tribe. If we want to be a social network for not just hitchhikers this number should go down to <10% at some point.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Trustroots/trustroots/issues/755#issuecomment-440439007, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFUgF2Ii_5iJRT1X2rN8pI6ClWO7Uo1ks5uxHasgaJpZM4XyoBc.

guaka commented 5 years ago

Another one: I'd like to see how much specific tribes are growing, especially https://www.trustroots.org/tribes/families

github-actions[bot] commented 4 years ago

This issue is marked as unloved because it has not had any activity for 180 days.

It doesn't mean it's not important, so please remove the unloved label if you like it, or add a comment saying what it means to you :) If this was a bug, maybe you can test to see if this is still an issue?

However, if you just leave it like this, I'll close it in 14 days to help keep your issues tidy!

Thanks!