Module: ActiveMatrix::Instrumentation

Extended by:
ActiveSupport::Concern
Included in:
MessageDispatcher, PresenceManager
Defined in:
lib/active_matrix/instrumentation.rb

Overview

Instrumentation module for Matrix bot operations Provides ActiveSupport::Notifications events and structured logging

Examples:

Include in a class

class MyService
  include ActiveMatrix::Instrumentation

  def perform
    instrument_operation(:my_operation, room_id: '!abc:matrix.org') do
      # ... operation code
    end
  end
end