Add statistics #8

Closed
opened 2020-12-29 01:45:04 +01:00 by Cpm · 1 comment
Contributor

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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: miraty/libreqr#8
No description provided.