Skip to content

Commit b8799aa

Browse files
fix: Put query metrics behind feature flag
A call site for record_query_duration_metrics was missed in #749.
1 parent b336fba commit b8799aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core/src/subscription/subscription.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ impl QuerySet {
329329
}
330330
}
331331
}
332+
#[cfg(feature = "metrics")]
332333
record_query_duration_metrics(WorkloadType::Update, &db.address(), start);
333334
}
334335
for (table_id, (table_name, ops)) in table_ops.into_iter().filter(|(_, (_, ops))| !ops.is_empty()) {

0 commit comments

Comments
 (0)