satellite/audit/verifier: add metric for number of successfully downloaded shares
Change-Id: Ia4f1dc6e088db802e340aaecf80cc7ef6dc237a4
This commit is contained in:
parent
1f7c3be8f9
commit
6043d01c90
@ -37,6 +37,7 @@ storj.io/storj/satellite/audit."reverify_successes_global" Meter
|
||||
storj.io/storj/satellite/audit."reverify_total_in_segment" IntVal
|
||||
storj.io/storj/satellite/audit."reverify_unknown" IntVal
|
||||
storj.io/storj/satellite/audit."reverify_unknown_global" Meter
|
||||
storj.io/storj/satellite/audit."verify_shares_downloaded_successfully" IntVal
|
||||
storj.io/storj/satellite/gracefulexit."graceful_exit_fail_max_failures_percentage" Meter
|
||||
storj.io/storj/satellite/gracefulexit."graceful_exit_fail_validation" Meter
|
||||
storj.io/storj/satellite/gracefulexit."graceful_exit_final_bytes_transferred" IntVal
|
||||
|
@ -220,6 +220,8 @@ func (verifier *Verifier) Verify(ctx context.Context, path storj.Path, skip map[
|
||||
zap.Error(share.Error))
|
||||
}
|
||||
|
||||
mon.IntVal("verify_shares_downloaded_successfully").Observe(int64(len(sharesToAudit))) //locked
|
||||
|
||||
required := int(pointer.Remote.Redundancy.GetMinReq())
|
||||
total := int(pointer.Remote.Redundancy.GetTotal())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user