Collecting stats of popular Recipes #555
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#555
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Copying in a quote from @decentral1se in #553
From a general perspective of feedback loops and projects self-awareness I think this might be a useful metric to have. At least I would be curious to know. I think it's also helpful to drive interest and adoption in Co-op Cloud Recipes.
Without knowing anything about the server infrastructure or inner workings of abra- is it possible to parse some server logs of HTTP requests at a per recipe level? Or is that data not transmitted to Co-op Cloud's servers and only exists within Abra and the third party repos involved in the Recipe?
Obviously there are privacy implications depending on implementation to recording this data (if it's not already in Co-Op Cloud's server) .
One thing we discussed before was #307 - knowing there are collective(s) actively commited to maintaining the recipe means it's reliable (and therefore popular?). This would also be simple to implement technically. Unsure how we'd shape process socially to keep up with who is maintaining, stopped maintaing, inactive etc.
While correlated to maintenance, I think it is also a different signal. A useful recipes will be used by 10x or 100x the number of ppl maintaining it and that number will in theory grow to Nx. But knowing a recipe is currently maintained would definitely be a good a signal for which to feature on the homepage and search.
Collecting stats of popular Recipesto Recipes: Collecting stats of popular RecipesAgree that this would be super useful if we can find a way to do it.
Sadly Gitea doesn't yet seem to support Dockerhub/Github-style "how many times has this repo been pulled" stats: https://github.com/go-gitea/gitea/issues/7392
And, even with a high debugging level, the
app
container doesn't output fetched URLs in logs 😞Recipes: Collecting stats of popular Recipesto Collecting stats of popular RecipesWe could encourage Operators to have a manual policy of clicking the
Star
button for every recipe they are using and have deployed.This is obviously a slightly different signal from
git clone ...
but it has these attributes:Pros
Cons
Looking at the Gitea API: repository, this data is accessible:
There is also
Watch
data, which could be used instead / in additionWe could use this data as a heuristic on the Recipes page
I think operators are not necessarily participating here at all, this feels more behind-the-scenes, whereas an operator should be able to use co-op cloud + recipes without interacting with any of this layer IMO.
An idea to throw out: a recipe that collects stats about a server, so:
abra app new usage-stats
Well, I think having operators be slightly more aware and involved in the recipes they are relying on was one aspect of my idea. Also because it just requires clicks. Not much code development.
Your idea does sound like a nice approach though 😄 👌 by my looking around, this sub-command
abra app new usage-stats
would be entirely new feature to be developed. Perhaps it would maybe be semantically better as:And then the outcome of this command which could then be submitted to a CC analytics server would be:
This could also be prompted on a per-app-installment during setup:
I think @nicksellen's proposal was for a new recipe, a daemon that sends these updates regularly, in which case I think
abra app new
is fine (by comparison withbackup-bot-two
, orswarm-cronjob
, other handy utility apps which are deployed using recipes).Looks great
If it's a server daemon, how about during
abra server add
?Oh 🤦♀️ I see...
Lol. That is a very different angle than I imagined 🤣 but I see how it also works... 🤷♀️ ?!
I guess there is one thing to consider with either idea- which is fake reports. Probably not worth thinking about at this stage (famous last words).