django-insights
django-insights copied to clipboard
Reloading application every time insights are collected
Hi,
I am trying to use django-insights with celery/beat. I have created a task where I simply run the console command:
python manage.py collect_insights
periodically. I have noticed that every time the AppConfig.ready-function is called anew, and since some of the processes are fairly intensive the server is overloaded and the site is non-responsive. I wonder if there is a way to collect/update the insights without calling the AppConfig.ready-function?
Cheers, TH
Hi, can you give some details about your setup, like django and celery versions?