10.8. Event Listener
- Query creation
- Split completion (success or failure)This functionality enables development of custom logging, debugging andperformance analysis plugins. In a Presto cluster, only a single eventlistener plugin can be active at a time .
is responsible for creating anEventListener
instance. It also defines an EventListener
name which is used by the administrator in a Presto configuration.Implementations of EventListener
implement methods for the event typesthey are interested in handling.
Configuration
After a plugin that implements EventListener
andEventListenerFactory
has been installed on the coordinator, it isconfigured using an etc/event-listener.properties
file. All of theproperties other than event-listener.name
are specific to the implementation.
Example configuration file: