Add statistics #8

Open
opened 1 year ago by Cpm · 1 comments
Cpm commented 1 year ago

It would be great to display statistics, perhaps in a dedicated page:

  • count of generated QR Code (clic on "Generate" button)
  • count of delivered QR code (/temp/*.png)
  • count of bytes of the temp directory
  • count of the files in the temp directory
It would be great to display statistics, perhaps in a dedicated page: * count of generated QR Code (clic on "Generate" button) * count of delivered QR code (`/temp/*.png`) * count of bytes of the temp directory * count of the files in the temp directory
Owner

These statistics wouldn't represent the real usage of a LibreQR instance, because they would be overloaded by things like spambots or users clicking 10 times for testing or for fun. Therefore, I'm not sure of the usefulness of this feature.

count of delivered QR code (/temp/*.png)

The webserver never send this info to PHP, so LibreQR just can't make statistics about this.

count of generated QR Code (clic on “Generate” button)

This would be the only feature that require a persistant memory (for now, all data processed by LibreQR is temporary). LibreQR should make this stat only if a setting, disabled by default, is enabled, to avoid each administrator having to worry about a data to backup.

These statistics wouldn't represent the real usage of a LibreQR instance, because they would be overloaded by things like spambots or users clicking 10 times for testing or for fun. Therefore, I'm not sure of the usefulness of this feature. > count of delivered QR code (`/temp/*.png`) The webserver never send this info to PHP, so LibreQR just can't make statistics about this. > count of generated QR Code (clic on “Generate” button) This would be the only feature that require a persistant memory (for now, all data processed by LibreQR is temporary). LibreQR should make this stat only if a setting, disabled by default, is enabled, to avoid each administrator having to worry about a data to backup.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.