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 prometheus-client from 2.1.0 to 4.2.1 #638

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps prometheus-client from 2.1.0 to 4.2.1.

Release notes

Sourced from prometheus-client's releases.

v4.2.1

4.2.1 / 2023-08-04

Codename: If a bug falls in the forest

Bug fixes

  • #291 Handle / in job name in Prometheus::Client::Push: Previously, if you included a / in your job name when using the Pushgateway client, you'd get a 400 error back as we didn't encode it properly. We now base64 encode it per the Pushgateway spec.

    It's possible that nobody has hit this bug (/ is fairly unlikely to appear in a job name) or that the error message (a 400 from Pushgateway with a complaint about an odd number of path components) didn't make it look like a bug in the Ruby client. Either way, this hopefully brings us fully in line with the spec!

v4.2.0

4.2.0 / 2023-07-25

Codename: Funny number

Small improvements

  • #287 Add Gauge#set_to_current_time: Does what you'd expect - sets a gauge to the current unix epoch timestamp (including fractional seconds).

    Other client libraries have this and it's about time we did!

v4.1.0

4.1.0 / 2023-03-20

Codename: They finally made a point release

Small improvements

  • #264 Add JRuby 9.3 to build matrix: JRuby 9.3 was released, and added as an officially supported version

  • #273 Add Ruby 3.2 to build matrix: Ruby 3.2 was released, and added as an officially supported version

  • #280 Optimize incrementing values in DirectFileStore adapter: There were some expensive method calls being made multiple times when they didn't need to be for simple increments. This PR introduces a specialised implementation for that case.

  • #277 Allow use of instance and job labels: It's now possible to set the instance and job labels on metrics, where previously they had been reserved.

    The reason we'd reserved them is that Prometheus automatically generates values for them when it scrapes a target, and we didn't want to cause a collision. It turns out Prometheus handles that collision just fine.

    By default, Prometheus server will prepend exported_ to them if they're present in the scraped data (i.e. exported_instance and exported_job). Users can set honor_labels in their Prometheus server config if they prefer the labels from the scraped metric data to take precedence over the labels generated by the server.

Bug fixes

  • #268 Use lowercase response headers in Rack example: Rack 3.0.0 started requiring this for compatibility with HTTP/2

... (truncated)

Changelog

Sourced from prometheus-client's changelog.

4.2.1 / 2023-08-04

Codename: If a bug falls in the forest

Bug fixes

  • #291 Handle / in job name in Prometheus::Client::Push: Previously, if you included a / in your job name when using the Pushgateway client, you'd get a 400 error back as we didn't encode it properly. We now base64 encode it per the Pushgateway spec.

    It's possible that nobody has hit this bug (/ is fairly unlikely to appear in a job name) or that the error message (a 400 from Pushgateway with a complaint about an odd number of path components) didn't make it look like a bug in the Ruby client. Either way, this hopefully brings us fully in line with the spec!

4.2.0 / 2023-07-25

Codename: Funny number

Small improvements

  • #287 Add Gauge#set_to_current_time: Does what you'd expect - sets a gauge to the current unix epoch timestamp (including fractional seconds).

    Other client libraries have this and it's about time we did!

4.1.0 / 2023-03-20

Codename: They finally made a point release

Small improvements

  • #264 Add JRuby 9.3 to build matrix: JRuby 9.3 was released, and added as an officially supported version

  • #273 Add Ruby 3.2 to build matrix: Ruby 3.2 was released, and added as an officially supported version

  • #280 Optimize incrementing values in DirectFileStore adapter: There were some expensive method calls being made multiple times when they didn't need to be for simple increments. This PR introduces a specialised implementation for that case.

  • #277 Allow use of instance and job labels: It's now possible to set the instance and job labels on metrics, where previously they had been reserved.

    The reason we'd reserved them is that Prometheus automatically generates values

... (truncated)

Commits
  • e144d62 Merge pull request #292 from prometheus/sinjo-prepare-4-2-1
  • a9e8a30 Prepare release 4.2.1
  • 8dc02e4 Merge pull request #291 from prometheus/sinjo-base64-job-push
  • 6f7b6cf Handle / in job name in Prometheus::Client::Push
  • 77e6b7b Merge pull request #288 from prometheus/sinjo-prepare-release-4-2-0
  • 6ce3fdd Prepare release 4.2.0
  • 7507716 Merge pull request #287 from prometheus/sinjo-add-gauge-current-timestamp
  • 1d96723 Add Gauge#set_to_current_time
  • 907b495 Merge pull request #285 from duffn/duffn/update-test-headeres
  • f543a3c Use Rack::Response#headers in place of header
  • Additional commits viewable in compare view

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 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 added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Aug 7, 2023
Bumps [prometheus-client](https://github.com/prometheus/client_ruby) from 2.1.0 to 4.2.1.
- [Release notes](https://github.com/prometheus/client_ruby/releases)
- [Changelog](https://github.com/prometheus/client_ruby/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_ruby@v2.1.0...v4.2.1)

---
updated-dependencies:
- dependency-name: prometheus-client
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/prometheus-client-4.2.1 branch from bc13a64 to 12fd149 Compare August 18, 2023 07:35
@H3ll3m4 H3ll3m4 merged commit 9fea660 into main Sep 7, 2023
8 checks passed
@H3ll3m4 H3ll3m4 deleted the dependabot/bundler/prometheus-client-4.2.1 branch September 7, 2023 13:46
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant