Releases: Strech/sidekiq-prometheus-exporter
Catching up folks 🐎
Hey everyone 👋🏼
A new release v0.3.0 is out and it brings some latest features to the standard metrics of the Sidekiq.
In the open-source version of the Sidekiq we get a new gauge metric sidekiq_host_processes_memory_usage_bytes{host="..."} which tracks RSS memory usage on the host.
And in addition, in the enterprise 💰 version a gauge metric sidekiq_leader_lifetime_seconds which tracks the lifetime of the cluster leader (thanks to @hadaromash for bringing it up).
The Docker image also gets some refresh and now is running latest Ruby version and latest Sidekiq 8.x, which allows it to be compatible with most recent releases.
Please be aware that some quirks might pop up here and there 🤷🏼
Happy tracking 📈
Unexpected mutations ... yikes! 🍄
In this release, an unexpected issue was fixed with Content-Length header. It turns out that between requests the constant I store the default headers was mutated which leads to Rack::Lint throwing an exception that content length differs (body vs header).
So now it should be fixed. Happy metrics, everyone 🎉 💙
Special thanks to @ThisIsMissEm for bringing this issue to the table 🐞
Technical release to publish latest working Helm ⛑️
And another mistake fixed, thanks to @jorijn finally the latest Helm chart version was published correctly.
TL;DR Helm doesn't support - in the version of the chart despite the SemVer support claims (they say - support to some extent ... yeah)
The fix or the fix 🔧
Sometimes it happens that you have to fix the fix. Here we are, fixing the result of 0.2.0-2 release with correct escaping.
Oooops, but happy codding! 🎉
Redis username and password are URL safe 🦺
Thanks to @roobre 💜 the latest Docker image now will not crush on special chars in username and password, like /, yaw!
Happy coding 🍰
Fix Docker image with missing web server
After the 0.2.0 release I accidentally broke Docker image by Ruby upgrade to version 3.x. Starting Ruby 3 the default HTTP server Webrick was extracted into a separate gem.
No it's back! Happy sampling 📈
Welcome sidekiq_host_processes gauge to the family 👩👧👦
Thanks to @barthez, he introduced #58 new gauge sidekiq_host_processes which is also able to show if the process is quiet.
# HELP sidekiq_host_processes The number of processes running on the host.
# TYPE sidekiq_host_processes gauge
sidekiq_host_processes{host="host01",quiet="false"} 2
sidekiq_host_processes{host="host01",quiet="true"} 1
sidekiq_host_processes{host="host02",quiet="false"} 1
It will appear in the renewed Docker image and Helm package soon ™️
Happy coding! 🎉
Fix CVE-2022-28391 in Docker image 🐳
Thanks to the @nathanloyer who pointed out that we are running on a vulnerable Docker image. Luckily it was a low-severity CVE, but let's fix it.
In addition to the fix, the Ruby version was bumped to the latest patch version 2.7.7.
Updated Docker image and Helm chart 💹
In this release, we have a few changes to the OPS side of the gem. The minor versions of all gems used in the Docker image were updated to the latest. At the same time Helm chart received the new configuration option podLabels if you want to add any labels to your exporter pod.
Hude thanks to @pauldn-wttj and @t-lo for the support with it 💙 💜
Welcome Ruby 3.1 and good bye Ruby 2.5
Time flies, Ruby 3.1 is out and we have to move our supported Ruby versions window forward and drop support of Ruby 2.5 😢
The Docker image gets latest Ruby 2.7 version and soon will be updated too, stay tuned!
Thanks @petergoldstein for making this release happen! 💜