Skip to content

Conversation

d0ugal
Copy link
Contributor

@d0ugal d0ugal commented Aug 18, 2025

go-kit was removed from BBE, they migrated to slog. We primarily use zerolog. This means that we have been converting zerolog to go-kit to slog in several places. This would be much simpler if we removed go-kit, which currently only acts as a intermediate loggger for code that was previously designed to work with blackbox exporter logging setup.

The goal with this PR is to simplify our logging setup and use only zerolog with conversions to slog when needed.

@d0ugal d0ugal requested a review from a team as a code owner August 18, 2025 10:27
@d0ugal d0ugal requested review from nadiamoe and Pokom August 18, 2025 10:27
@d0ugal d0ugal marked this pull request as draft August 18, 2025 10:42
@d0ugal d0ugal force-pushed the rm-go-kit branch 3 times, most recently from 67a67b6 to 80ce876 Compare August 22, 2025 13:33
@d0ugal d0ugal removed request for nadiamoe and Pokom August 22, 2025 13:33
@d0ugal d0ugal force-pushed the rm-go-kit branch 2 times, most recently from 723dad8 to cd3de5d Compare August 22, 2025 13:48
@d0ugal d0ugal force-pushed the rm-go-kit branch 3 times, most recently from dc8f489 to b3192e7 Compare September 4, 2025 08:44
@d0ugal d0ugal force-pushed the rm-go-kit branch 4 times, most recently from c0bfb5b to 8482a81 Compare September 9, 2025 08:51
- Change '// nolint' to '//nolint' in dns.go and utils.go
- Resolves nolintlint linter errors
- Revert test changes that were causing compilation errors
- The test failures are due to log format change from text to JSON
- This is expected behavior after refactoring to use slog with zerolog backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant