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).
Instance Method Summary collapse
-
#report(event_hash)
Receive a telemetry event.
Instance Method Details
#report(event_hash)
This method returns an undefined value.
Receive a telemetry event.
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 |