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, drop go-kit/log #246

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

tjhop
Copy link
Contributor

@tjhop tjhop commented Oct 18, 2024

The bulk of this change set was automated by the following script which
is being used to aid in converting the various exporters/projects to use
slog:

https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434

Other changes include:

  • bumping prometheus/{common,client_golang,exporter-toolkit}
  • bump minimum go version to go1.22
  • remove old go-kit/log linter configs, add sloglint

Signed-off-by: TJ Hoplock [email protected]

The bulk of this change set was automated by the following script which
is being used to aid in converting the various exporters/projects to use
slog:

https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434

Other changes include:
- bumping prometheus/{common,client_golang,exporter-toolkit}
- bump minimum go version to go1.22
- remove old go-kit/log linter configs, add sloglint

Signed-off-by: TJ Hoplock <[email protected]>
@tjhop
Copy link
Contributor Author

tjhop commented Oct 18, 2024

cc: @SuperQ

@SuperQ SuperQ merged commit 2c043b7 into prometheus-community:master Oct 18, 2024
5 checks passed
k0ste added a commit to k0ste/smartctl_exporter that referenced this pull request Dec 19, 2024
* [CHANGE] `slog` used for logging instead go logger prometheus-community#246
* [ENHANCEMENT] Added support for `megaraid` devices and device types prometheus-community#205 prometheus-community#257
* [BUGFIX] Better support for smartmontools < 7.3 prometheus-community#238
* [BUGFIX] Corrected NVMe read/write bytes to NVMe metrics prometheus-community#211

Signed-off-by: Konstantin Shalygin <[email protected]>
@k0ste k0ste mentioned this pull request Dec 19, 2024
SuperQ pushed a commit that referenced this pull request Dec 20, 2024
* [CHANGE] `slog` used for logging instead go logger #246
* [ENHANCEMENT] Added support for `megaraid` devices and device types #205 #257
* [BUGFIX] Better support for smartmontools < 7.3 #238
* [BUGFIX] Corrected NVMe read/write bytes to NVMe metrics #211

Signed-off-by: Konstantin Shalygin <[email protected]>
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