I just found in the Sidekiq interface that there is a job Jobs::DashboardStats that runs every 30 minutes. That sounds like the job that would generate these stats, but so far triggering it manually had no effect.
To see this information:
Go to the Sidekiq interface of your Discourse installation. This is probably not available in a hosted environment, and only on the main site of a Discourse multisite installation. However, for normal standalone Discourse installations, an admin user can access it at:
https://example.com/sidekiq
Click on “Scheduler” in the main menu, find the table title “Recurring Jobs” and click on “history” behind it.
Filter by job name Jobs::DashboardStats. The direct URL to the filtered view would be
This view shows that the Jobs::DashboardStats job runs regularly every 30 minutes.
Now strangely, when triggering this job manually under “Scheduler” in the Sidekiq interface, I did not see any increase in the field “Activity Metrics → Pageviews → Today” on the admin dashboard, or in any other counter there. I understand that the graphs on the admin dashboard all end at the day before the current one in order to yield comparable values. So the graphs will only change when a new day has completed. But I expected the “Activity Metrics → Today” column to update with every run of the Sidekiq job. So far no success, though.
Input from the team would be welcome. Or we could consult the source code, of course