Tracking usage of your Dash apps: functionalytics

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:

:blue_circle: Track which options are used the most (in a dropdown, slider, file upload, etc.)
:blue_circle: Save logs to your own file
:blue_circle: Track function completion time (linked to certain inputs, dates, etc)
:blue_circle: Save errors together with the full traceback in a special separate file
:blue_circle: Discard logging of unreadable items (images, files, very long input text, etc.)
:blue_circle: Log attributes of unreadable items (size of a file, word count of input text, etc)
:blue_circle: Conditional logging: Only log if certain options were chosen, or if the file size is larger than a certain value
:blue_circle: 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

5 Likes