Sentry on-premise 21.7.0 No Org Stats (stats_v2 API)


In our production environment, sentry on-premise v 21.7.0, there are no Organizational Statistics ( 0 everywhere ). We have statistic data both in the Projects page and in Dashboards, and only the Org Stats are missing. This is not replicated on our development environment ( that should be identical).

Can you please help me debug this problem ? If I do a query in clickhouse I can see data in errors_local table, so if the Org Stats are generated from clickhouse, they should be present. The stats_v2 API returns an empty result, but I couldn’t find how it works except that it’s related to snuba. All snuba services are functioning and don’t seem to have errors.

Thank you,