Skip to content

Commit 952749f

Browse files
committed
add surcharge and decision manager cache instance to gauge metrics collector
1 parent 658da71 commit 952749f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/router/src/routes/metrics/bg_metrics_collector.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ pub fn spawn_metrics_collector(metrics_collection_interval_in_secs: &Option<u16>
3232
ACCOUNTS_CACHE,
3333
ROUTING_CACHE,
3434
CGRAPH_CACHE,
35-
PM_FILTERS_CGRAPH_CACHE
35+
PM_FILTERS_CGRAPH_CACHE,
36+
DECISION_MANAGER_CACHE,
37+
SURCHARGE_CACHE
3638
);
3739

3840
tokio::time::sleep(std::time::Duration::from_secs(

0 commit comments

Comments
 (0)