Instrumentation Overdrive - influxdb-rails 1.0.1
Highlights
This release is adding three new types of instrumentation:
-
ActiveJob
Instrumentation
We now instrument all those pesky background jobs, so you can stay on top of what is happening in yourActiveJob
queues. When have they been queued? How many are queued? How long did they take? -
Block Instrumentation
If you have some special devilish block of code you want to instrument the performance of, we now added a way for you to do that.
InfluxDB::Rails.instrument "expensive_operation", tags: { }, values: { } do
expensive_operation
end
-
ActionMailer
Instrumentation
For those of you who send E-Mails (who doesn't?) we added instrumentation forActionMailer
that will tell you the throughput of your mailer classes. -
A couple of new template dashboards based on the new measurements we produce
See for yourself 👀
Minor Changes
We now also instrument ActiveRecord
instantiation so you can hunt down the actions which are a bit too eager to load data.
Unhandled exceptions are now reported as a tag in the ActionController
instrumentation, we don't really want to replace your exception tracking tool, but some statistics about this can't hurt right?
We also added support for more recent Ruby (2.7 / 3.0) and Ruby on Rails (6.0 / 6.1) versions.
Breaking Changes
But we also dropped support for Ruby 2.3, 2.4 and Rails 4.2, 5.0 and 5.1. If you are using those versions you should stay on influxdb-rails
1.0.0 and update soon, all of those are out of maintenance 😸
Thanks
This release would have been possible without you peepz! Thank you for your support ❤️
- Charlie Hornsby (@chornsby) of aiven.io for making the SSL client config more obvious
- Swapnil Gourshete (@gourshete) for documentation fixes
- Andrew Kalek (@anlek) for adding basic auth support for the connection to influxdb
- @SUSE for giving me leeway during #HackWeek to finally roll this!