Skip to content

Instrumentation Overdrive - influxdb-rails 1.0.1

Compare
Choose a tag to compare
@hennevogel hennevogel released this 23 Mar 11:59
· 12 commits to one-stable since this release
38d59b5

Highlights

This release is adding three new types of instrumentation:

  1. ActiveJob Instrumentation
    We now instrument all those pesky background jobs, so you can stay on top of what is happening in your ActiveJob queues. When have they been queued? How many are queued? How long did they take?

  2. 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
  1. ActionMailer Instrumentation
    For those of you who send E-Mails (who doesn't?) we added instrumentation for ActionMailer that will tell you the throughput of your mailer classes.

  2. A couple of new template dashboards based on the new measurements we produce
    See for yourself 👀

Cycling through our dashboards

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!