Very happy to share a new package that I created, for tracking usage of Dash (or any Python) apps:
functionalytics
(rhymes with "functionality)
It’s for product managers and devs to track and debug usage of your Python apps with a simple decorator, without having to change the logic of your app:
Track which options are used the most (in a dropdown, slider, file upload, etc.)
Save logs to your own file
Track function completion time (linked to certain inputs, dates, etc)
Save errors together with the full traceback in a special separate file
Discard logging of unreadable items (images, files, very long input text, etc.)
Log attributes of unreadable items (size of a file, word count of input text, etc)
Conditional logging: Only log if certain options were chosen, or if the file size is larger than a certain value
Log sampling: using conditional logging you can make sure you only log a certain percentage of interactions in case you have massive traffic
Quick demo with link to Github repo:
pip install functionalytics