cmd/satellite: rename monkit stat with '_', not '-'
Change-Id: Idb7d2971fbef1145f281b728a492e40e04add155
This commit is contained in:
parent
ab37b65cfc
commit
171f908d8b
@ -879,8 +879,8 @@ func cmdRegisterLostSegments(cmd *cobra.Command, args []string) error {
|
||||
log.Fatal("Failed to initialize telemetry batcher", zap.Error(err))
|
||||
}
|
||||
|
||||
scope := monkit.Default.ScopeNamed("segment-durability")
|
||||
scope.Meter("lost-segments").Mark(numLostSegments)
|
||||
scope := monkit.Default.ScopeNamed("segment_durability")
|
||||
scope.Meter("lost_segments").Mark(numLostSegments)
|
||||
|
||||
if err := process.Report(ctx); err != nil {
|
||||
log.Fatal("could not send telemetry", zap.Error(err))
|
||||
|
Loading…
Reference in New Issue
Block a user