mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 05:22:56 +00:00
Add debug messages around sending cached metrics
This commit is contained in:
@@ -242,6 +242,18 @@ pub async fn collect_metrics_iteration(
|
||||
Some(val) => val != curr_val,
|
||||
None => true,
|
||||
});
|
||||
|
||||
info!(
|
||||
"sending only changed metrics, {} values at {}",
|
||||
current_metrics.len(),
|
||||
Utc::now()
|
||||
);
|
||||
} else {
|
||||
info!(
|
||||
"sending all metrics, including cached ones. {} values at {}",
|
||||
current_metrics.len(),
|
||||
Utc::now()
|
||||
);
|
||||
}
|
||||
|
||||
if current_metrics.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user