cmd/satellite: rename monkit stat with '_', not '-'

Change-Id: Idb7d2971fbef1145f281b728a492e40e04add155
This commit is contained in:
paul cannon 2021-12-27 18:46:43 -06:00
parent ab37b65cfc
commit 171f908d8b

View File

@ -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))