File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ async fn emit_current_epoch_snapshot_metric(
347347 . get_epoch_info ( )
348348 . with_context ( || format ! ( "Failed to fetch epoch info from {}" , rpc_url) ) ?;
349349 let epoch = epoch_info. epoch ;
350+ let slot_index = epoch_info. slot_index ;
350351
351352 // Build GCS prefix path used by upload_file: {epoch}/{hostname}/snapshot-*.tar.zst
352353 // First, list objects under epoch/hostname and look for any snapshot-*.tar.zst
@@ -371,7 +372,8 @@ async fn emit_current_epoch_snapshot_metric(
371372 datapoint_info ! (
372373 "tip_router_gcp_uploader.snapshot_present" ,
373374 ( "epoch" , epoch as i64 , i64 ) ,
374- ( "present" , uploaded, bool ) ,
375+ ( "slot_index" , slot_index as i64 , i64 ) ,
376+ ( "present_i" , uploaded as i64 , i64 ) ,
375377 "cluster" => cluster,
376378 "hostname" => hostname,
377379 "bucket" => bucket_name,
You can’t perform that action at this time.
0 commit comments