Repository navigation
Migrate from promlog/go-kit log to promslog/slog; bump prometheus deps - #295
Merged
Merged
Conversation
Replace go-kit/log and prometheus/common/promlog with log/slog and promslog. The --log.level and --log.format flags are unchanged. This unblocks upgrading prometheus/common to v0.72.0 and client_golang to v1.25.0. Co-authored-by: Copilot <[email protected]> Signed-off-by: Carlos Panato <[email protected]>
cpanato
force-pushed
the
chore/migrate-promlog-to-promslog
branch
from
October 9, 2026 15:35
d194671 to
a63e686
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
go-kit/logandprometheus/common/promlogwithlog/slogandpromslog(main, server, billing and workflow exporters, tests).--log.leveland--log.formatflags are unchanged.prometheus/commonv0.60.1 → v0.72.0 andclient_golangv1.20.5 → v1.25.0 (procfs→ v0.22.0);go-kit/logandlogfmtdropped fromgo.mod.not exporting org billingwithreason=...,Listeningwithaddress=.... Fixed one call that loggederror reading body: %vwithout formatting.Notes
time/level/source/msgkeys), so log parsers may need an update.go-githubv66 → v92 needs the billing metrics moved to the usage report API.Validation
go build,go test -race,golangci-lint(0 issues), and a smoke run with--log.format=json(metrics 200, bad webhook 403, clean shutdown).