Module: RosettAi::Telemetry::Provider

Defined in:
lib/rosett_ai/telemetry/provider.rb

Overview

Interface module for telemetry providers.

Providers receive frozen event hashes via +#report+ and must not mutate them. Implement this interface to add custom telemetry consumers (e.g., D-Bus health, metrics aggregation).

Author:

  • hugo

  • claude

Instance Method Summary collapse

Instance Method Details

#report(event_hash)

This method returns an undefined value.

Receive a telemetry event.

Parameters:

  • event_hash (Hash)

    frozen event data

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/rosett_ai/telemetry/provider.rb', line 21

def report(event_hash)
  raise NotImplementedError, "#{self.class}#report must be implemented"
end