Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stats are *very* helpful #1

Open
bjendres opened this issue Mar 20, 2023 · 2 comments
Open

Stats are *very* helpful #1

bjendres opened this issue Mar 20, 2023 · 2 comments
Labels
feature this issue represents a completely new feature

Comments

@bjendres
Copy link
Member

bjendres commented Mar 20, 2023

I recently added stats to the Twingle profiles:

  • usage count: how often was this profile used?
  • last used: when was the profile used the last time?
  • first used: when was the profile used for the first time?

This makes profile life cycle management (i.e. "can I delete this?") a lot easier, as well as for debugging or just general book keeping.

Potentially we would have to exclude these columns from extended logging, so we don't bloat the DB.

@bjendres bjendres added the feature this issue represents a completely new feature label Mar 20, 2023
@jensschuppe
Copy link
Collaborator

Donation Receipts is doing that by dynamically calculating usages based on other things, i. e. not relying on explicitly stored usage counts. @bjendres would you advocate for providing usage statistics fields in the entity schema (allowing them being empty) or do you think a "pseudo" property inside the JSON data property would be sufficient for implementing extensions?

@bjendres
Copy link
Member Author

@bjendres would you advocate for providing usage statistics fields in the entity schema

Yes. But I would still leave it up to the "user" extension to use these fields or not. Or even go for a different approach, like the DonationReceips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature this issue represents a completely new feature
Projects
None yet
Development

No branches or pull requests

2 participants