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 #212

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

tjhop
Copy link
Contributor

@tjhop tjhop commented Oct 14, 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

@tjhop
Copy link
Contributor Author

tjhop commented Oct 14, 2024

cc: @SuperQ

@SuperQ
Copy link
Contributor

SuperQ commented Oct 15, 2024

The lint failure is related to the Go upgrade. I merged the latest repo sync PR so the next sync should bring it up-to-date enough to support Go 1.23.

@SuperQ
Copy link
Contributor

SuperQ commented Oct 16, 2024

A rebase should fix the lint issue.

tjhop added 3 commits October 16, 2024 16:49
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

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

tjhop commented Oct 17, 2024

rebased 👍

@SuperQ
Copy link
Contributor

SuperQ commented Oct 17, 2024

SA1019: expfmt.FmtText is deprecated: Use expfmt.NewFormat(expfmt.TypeTextPlain) instead. (staticcheck)

Hmm

@tjhop
Copy link
Contributor Author

tjhop commented Oct 17, 2024

Woops, I tested builds after the rebase, didn't test linting or I would've seen that. Should be better now 👍

@SuperQ SuperQ merged commit fd2ea5b into prometheus-community:master Oct 17, 2024
5 checks passed
SuperQ added a commit that referenced this pull request Nov 6, 2024
* [CHANGE] Drop XML statistics v2 support #171
* [CHANGE] Deprecate collection of task stats by default #200
* [CHANGE] Update logging library #212
* [ENHANCEMENT] Add metric `rpz_rewrites` #208
* [BUGFIX] Make log level configurable via command-line flag #182

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ mentioned this pull request Nov 6, 2024
SuperQ added a commit that referenced this pull request Nov 6, 2024
* [CHANGE] Drop XML statistics v2 support #171
* [CHANGE] Deprecate collection of task stats by default #200
* [CHANGE] Update logging library #212
* [ENHANCEMENT] Add metric `rpz_rewrites` #208
* [BUGFIX] Make log level configurable via command-line flag #182

Signed-off-by: SuperQ <[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