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

Bump github.com/prometheus/exporter-toolkit from 0.11.0 to 0.13.0 #908

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 13, 2024

Bumps github.com/prometheus/exporter-toolkit from 0.11.0 to 0.13.0.

Release notes

Sourced from github.com/prometheus/exporter-toolkit's releases.

v0.13.0

  • [CHANGE] Switch logging library to slog #240

v0.12.0

  • [FEATURE] Add pprof links to landing page #196
  • [FEATURE] Support listen on vsock #220
  • [ENHANCEMENT] Add hints for bash completion #190
  • [ENHANCEMENT] Support kingpin.CmdClause as argument #238
  • [BUGFIX] Don't swollow listen errors #232
Changelog

Sourced from github.com/prometheus/exporter-toolkit's changelog.

0.13.0 / 2024-09-09

  • [CHANGE] Switch logging library to slog #240

0.12.0 / 2024-09-03

  • [FEATURE] Add pprof links to landing page #196
  • [FEATURE] Support listen on vsock #220
  • [ENHANCEMENT] Add hints for bash completion #190
  • [ENHANCEMENT] Support kingpin.CmdClause as argument #238
  • [BUGFIX] Don't swollow listen errors #232
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner September 13, 2024 20:47
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 13, 2024
@dependabot dependabot bot requested review from BupycHuk and JiriCtvrtka and removed request for a team September 13, 2024 20:47
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.0 branch 3 times, most recently from 70de04b to 0896943 Compare October 4, 2024 06:54
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 8, 2024

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@BupycHuk
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.0 branch from 0896943 to 9eef8ce Compare October 13, 2024 01:40
@BupycHuk
Copy link
Member

@dependabot rebase

Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.11.0 to 0.13.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md)
- [Commits](prometheus/exporter-toolkit@v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.0 branch from 9eef8ce to 64bd27b Compare October 15, 2024 09:15
@BupycHuk BupycHuk enabled auto-merge (squash) October 15, 2024 10:05
if err := web.ListenAndServe(server, flags, promlog.New(&promlog.Config{})); err != nil {
logLevel := &promslog.AllowedLevel{}
_ = logLevel.Set(log.Level.String())
if err := web.ListenAndServe(server, flags, promslog.New(&promslog.Config{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
promslog.Config is missing fields Format, Style, Writer (exhaustruct)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That exhaustruct is a bit annoying, isn't it?

if err := web.ListenAndServe(server, flags, promlog.New(&promlog.Config{})); err != nil {
logLevel := &promslog.AllowedLevel{}
_ = logLevel.Set(log.Level.String())
if err := web.ListenAndServe(server, flags, promslog.New(&promslog.Config{ //nolint:exhaustivestruct
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it should be exhaustruct

if err := web.ListenAndServe(server, flags, promlog.New(&promlog.Config{})); err != nil {
logLevel := &promslog.AllowedLevel{}
_ = logLevel.Set(log.Level.String())
if err := web.ListenAndServe(server, flags, promslog.New(&promslog.Config{ //nolint:exhaustivestruct

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
promslog.Config is missing fields Format, Style, Writer (exhaustruct)

@BupycHuk BupycHuk merged commit abcde29 into main Oct 15, 2024
7 checks passed
@BupycHuk BupycHuk deleted the dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.0 branch October 15, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants