prometheus-community / pro-bing

A library for creating continuous probers
MIT License
316 stars 54 forks source link

Use go-kit/log for logging #1

Open metalmatze opened 2 years ago

metalmatze commented 2 years ago

This would fit the rest of the Prometheus ecosystem better

SuperQ commented 2 years ago

As a library, I prefer that we have a logging hook that is compatible with the stdlib logger.

metalmatze commented 2 years ago

Makes sense. My only concern with these is that they aren't structured, but don't have that strong of an opinion either.

SuperQ commented 1 year ago

There's now https://pkg.go.dev/golang.org/x/exp/slog, which is supposed to be in 1.21 stdlib.