DFE-Digital / get-teacher-training-adviser-service

DFE-Digital Get Teacher Training Adviser Service
MIT License
2 stars 3 forks source link

Bump prometheus-client from 4.0.0 to 4.1.0 #1292

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps prometheus-client from 4.0.0 to 4.1.0.

Release notes

Sourced from prometheus-client's releases.

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
  • #271 Use lowercase for HTTP headers in middleware: Fixes the same issue from above in our middleware
  • #270 Small compatibility fixes in Rack example: Apple have taken port 5000 for AirPlay, so we had to move away from it. Go has changed how you install binaries, so we updated those instructions too.
Changelog

Sourced from prometheus-client's changelog.

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
  • #271 Use lowercase for HTTP headers in middleware: Fixes the same issue from above in our middleware
  • #270 Small compatibility fixes in Rack example: Apple have taken port 5000 for AirPlay, so we had to move away from it. Go has changed how you install binaries, so we updated those instructions too.
Commits
  • 1fc94f8 Merge pull request #282 from prometheus/sinjo-fix-date
  • 5060390 Fix release date in CHANGELOG.md
  • 4c3499f Merge pull request #279 from prometheus/sinjo-prepare-4-1-0
  • f285c03 Add missing entries to CHANGELOG.md
  • 2022a41 Merge pull request #280 from splattael/perf-inc
  • 3ee337e Optimize incrementing values in DirectFileStore adapter
  • 52e0416 Prepare release 4.1.0
  • db756a1 Merge pull request #277 from prometheus/sinjo-loosen-reserved-labels
  • e53f7ed Allow use of instance and job labels
  • 825b35c Merge pull request #273 from prometheus/sinjo-add-ruby-3-2
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

github-actions[bot] commented 1 year ago

Review app deployed to https://review-teacher-training-adviser-1292.london.cloudapps.digital