diff --git a/stats/config/update_groups.json b/stats/config/update_groups.json index c07dab967..8b08037b8 100644 --- a/stats/config/update_groups.json +++ b/stats/config/update_groups.json @@ -6,6 +6,7 @@ "total_addresses_group": "0 0 */3 * * * *", "total_blocks_group": "0 0 */2 * * * *", "total_tokens_group": "0 0 18 * * * *", + "total_txns_group": "0 5 */2 * * * *", "yesterday_txns_group": "0 8 0 * * * *", "active_recurring_accounts_daily_recurrence_60_days_group": "0 0 2 * * * *", "active_recurring_accounts_daily_recurrence_90_days_group": "0 20 2 * * * *", diff --git a/stats/stats-server/src/runtime_setup.rs b/stats/stats-server/src/runtime_setup.rs index d9d07b979..4277b27d1 100644 --- a/stats/stats-server/src/runtime_setup.rs +++ b/stats/stats-server/src/runtime_setup.rs @@ -260,6 +260,7 @@ impl RuntimeSetup { Arc::new(TotalAddressesGroup), Arc::new(TotalBlocksGroup), Arc::new(TotalTokensGroup), + Arc::new(TotalTxnsGroup), Arc::new(YesterdayTxnsGroup), Arc::new(ActiveRecurringAccountsDailyRecurrence60DaysGroup), Arc::new(ActiveRecurringAccountsMonthlyRecurrence60DaysGroup), diff --git a/stats/stats/src/update_groups.rs b/stats/stats/src/update_groups.rs index f18792516..c74c8ceff 100644 --- a/stats/stats/src/update_groups.rs +++ b/stats/stats/src/update_groups.rs @@ -23,6 +23,7 @@ singleton_groups!( TotalAddresses, TotalBlocks, TotalTokens, + TotalTxns, YesterdayTxns, // Each of the `ActiveRecurringAccounts*` charts includes quite heavy SQL query, // thus it's better to have granular control on update times. @@ -167,7 +168,6 @@ construct_update_group!(NewTxnsGroup { TxnsGrowthWeekly, TxnsGrowthMonthly, TxnsGrowthYearly, - TotalTxns, ], });