Drop the "InProgress" metric

It didn't really make sense in multi-node setups because items could be
started and finished on different nodes.
This commit is contained in:
André Duffeck
2025-08-07 14:53:03 +02:00
parent 05b80b7f63
commit cc6681be3b
2 changed files with 0 additions and 10 deletions

View File

@@ -159,7 +159,6 @@ func (pps *PostprocessingService) processEvent(e raw.Event) error {
ImpersonatingUser: ev.ImpersonatingUser,
StartTime: time.Now(),
}
pps.metrics.InProgress.Inc()
next = pp.Init(ev)
case events.PostprocessingStepFinished:
if ev.UploadID == "" {
@@ -210,7 +209,6 @@ func (pps *PostprocessingService) processEvent(e raw.Event) error {
}
})
case events.UploadReady:
pps.metrics.InProgress.Dec()
// the upload failed - let's keep it around for a while - but mark it as finished
pp, err = pps.getPP(pps.store, ev.UploadID)
if err != nil {