openwisp / openwisp-utils

Python and Django utilities shared between different openwisp modules
https://openwisp.io/docs/dev/utils/
BSD 3-Clause "New" or "Revised" License
74 stars 72 forks source link

[feature] Add optional clean insights data collection #360

Closed nemesifier closed 9 months ago

nemesifier commented 1 year ago

Depends on https://github.com/openwisp/openwisp-utils/issues/273

We can collect this info when the application starts, maybe we should restrict this to the application server process only (no celery) and ensure it's performed only once, we should use a thread to avoid slowing down startup.

We need a setting to control whether this is enabled or not, it shall be disabled by default.

Let's add a section in the README which explains what data is collected and why.

We can test this in staging with the clean insights staging/prod system.