feat(jobs): add durable PG queue reclaim, slog, and richer metrics
JSON slog в ключевых пакетах; Prometheus path_group, job_audit_depth, upstream breaker; job_audit ClaimQueued/ReclaimStaleRunning + Adopt loop для HA после рестарта. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -4,7 +4,8 @@ package broker
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
"evobgp/internal/logging"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -14,6 +15,6 @@ func LogConnect(ctx context.Context, brokerURL string) {
|
||||
if u == "" {
|
||||
return
|
||||
}
|
||||
log.Printf("broker: EVOBGP_BROKER_URL=%q set; control plane still uses in-process jobs.Registry (no JetStream/Redis consumer in this binary)", u)
|
||||
logging.Default().Info(fmt.Sprintf("broker: EVOBGP_BROKER_URL=%q set; control plane still uses in-process jobs.Registry (no JetStream/Redis consumer in this binary)", u))
|
||||
_ = ctx
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user