Reorder fields in shred_insert_is_full datapoint (#35117)

Put the slot as the first field to make grep'ing for datapoints for a
specific slot in logs easier. This does not effect the datapoints
submission / presentation in metrics database
This commit is contained in:
steviez 2024-02-06 16:38:05 -06:00 committed by GitHub
parent 19454bf56e
commit fddfc8431e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -131,8 +131,8 @@ impl SlotsStats {
.unwrap_or(-1);
datapoint_info!(
"shred_insert_is_full",
("total_time_ms", total_time_ms, i64),
("slot", slot, i64),
("total_time_ms", total_time_ms, i64),
("last_index", last_index, i64),
("num_repaired", num_repaired, i64),
("num_recovered", num_recovered, i64),