You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Prometheus v3.0.0 uses a slog instead of the go-kit/log. In other words, the passed log parameter is changed to slog.
To upgrade Prometheus v3.0.0, we should pass slog instead of go-kit/log.
So, it might be good to implement a slogAdapter which converts go-kit/log to slog.
The text was updated successfully, but these errors were encountered:
Might be a good opportunity to see if we can use OpenTelemetry-go for logging here as the api and use slog as the sdk. Benefits include standardization of logging and exemplar support with traces.
The Prometheus v3.0.0 uses a
slog
instead of thego-kit/log
. In other words, the passed log parameter is changed toslog
.To upgrade Prometheus v3.0.0, we should pass
slog
instead ofgo-kit/log
.So, it might be good to implement a
slogAdapter
which convertsgo-kit/log
toslog
.The text was updated successfully, but these errors were encountered: