Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: adopt slog #173

Merged
merged 1 commit into from
Dec 12, 2024
Merged

chore!: adopt slog #173

merged 1 commit into from
Dec 12, 2024

Conversation

tjhop
Copy link
Contributor

@tjhop tjhop commented Dec 12, 2024

Most of the work was done by the conversion script, I only tidied
up/decorated a few error logs:
https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434

Other changes include:

  • bump to go1.22 as minimum in go.mod (ci already built with 1.22)
  • updates to prometheus/{common,exporter-toolkit,client_golang}
  • drop go-kit/log configs from linter
  • enable sloglint

Most of the work was done by the conversion script, I only tidied
up/decorated a few error logs:
https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434

Other changes include:
- bump to go1.22 as minimum in go.mod (ci already built with 1.22)
- updates to prometheus/{common,exporter-toolkit,client_golang}
- drop go-kit/log configs from linter
- enable sloglint

Signed-off-by: TJ Hoplock <[email protected]>
@tjhop tjhop changed the title chore/adopt slog chore!: adopt slog Dec 12, 2024
@tjhop
Copy link
Contributor Author

tjhop commented Dec 12, 2024

🙃 🙃 🙃

@SuperQ SuperQ merged commit f51d230 into SuperQ:master Dec 12, 2024
4 checks passed
SuperQ added a commit that referenced this pull request Jan 21, 2025
Note that this version now uses a BPF filter in privileged mode to improve perforamnce.

* [CHANGE] Update logging to Go slog library #173
* [ENHANCEMENT] Improve performance #178

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ mentioned this pull request Jan 21, 2025
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.

2 participants