Skip to content

Commit

Permalink
fix metric
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Dec 24, 2024
1 parent 391fc26 commit 00c8c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func (sync *Syncer) Drain(ctx context.Context, recs protocol.Records) (err error
if len(recs) == 0 {
return nil
}
SessionsStates.WithLabelValues(sync.Name, "drain").Set(float64(sync.GetDrainState()))
SessionsStates.WithLabelValues(sync.Name, "drain", version).Set(float64(sync.GetDrainState()))

recs = sync.processPings(recs)

Expand Down

0 comments on commit 00c8c3d

Please sign in to comment.