Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v4.1.0 #284

Sinjo announced in Announcements
v4.1.0 #284
Mar 20, 2023 * 0 comments
Return to top
Discussion options

Sinjo
Mar 20, 2023
Maintainer

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.

This discussion was created from the release v4.1.0.
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant