Use f32s for metrics so that we can do aggregation math on honeycomb

This commit is contained in:
Antonio Scandurra 2022-04-29 10:31:47 +02:00
parent 6734793069
commit 14b078dc0c

View file

@ -1097,9 +1097,9 @@ impl<'a> Drop for StoreWriteGuard<'a> {
let metrics = self.metrics();
tracing::info!(
connections = metrics.connections,
registered_projects = metrics.registered_projects,
shared_projects = metrics.shared_projects,
connections = metrics.connections as f32,
registered_projects = metrics.registered_projects as f32,
shared_projects = metrics.shared_projects as f32,
collaborators_per_project = metrics.collaborators_per_project,
"metrics"
);