Module: Boxcars::ObservabilityBackend
- Included in:
- MultiBackend, PosthogBackend
- Defined in:
- lib/boxcars/observability_backend.rb
Overview
Module to be included by observability backend implementations. It defines the interface that all backends must adhere to.
Instance Method Summary collapse
-
#track(event:, properties:) ⇒ Object
Tracks an event with associated properties.
Instance Method Details
#track(event:, properties:) ⇒ Object
Tracks an event with associated properties. This method must be implemented by any class that includes this module.
13 14 15 |
# File 'lib/boxcars/observability_backend.rb', line 13 def track(event:, properties:) raise NotImplementedError, "#{self.class.name} must implement the `track` method." end |