fix catchupped metric
This commit is contained in:
parent
639cb6addd
commit
1744b94cef
@ -124,7 +124,7 @@ func (s *submitter) shipFileRoutine(ctx context.Context, name string, sendQueue
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !catchUpped {
|
if !catchUpped {
|
||||||
catchUpped = line.EndOffset > startSize
|
catchUpped = line.EndOffset >= startSize
|
||||||
|
|
||||||
if catchUpped {
|
if catchUpped {
|
||||||
promCatchupDone.WithLabelValues(baseName).Set(1)
|
promCatchupDone.WithLabelValues(baseName).Set(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user