inaka / sumo_db

Erlang Persistency Framework
http://inaka.github.io/sumo_db/
Apache License 2.0
174 stars 37 forks source link

Link events and pre_events #284

Closed elbrujohalcon closed 8 years ago

elbrujohalcon commented 8 years ago

Some tools (like WombatOAM) need to be able to relate pre-events with the actual events. To do that we should add an event_id() :: reference() that should be generated before triggering the pre_event and attached to both the pre-event and the actual event. With that id in common, WombatOAM will be able to link both events properly.