Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
-
Docs Required, Release Notes Required
Description
I suggest to add monitoring capabilities to pyignite similar to pymongo's
Suggested api:
from pyignite.monitoring import OpEventListener, ConnectionEventListener, TopologyEventListener from pyignite import Client client = Client(event_listeners=[OpEventListener, ConnectionEventListener, TopologyEventListener]) with client.connect(...): ......
I suggests to add listeners to:
- Connection events connect or disconnect to specific ignite server, connection errors
- Topology events when partition awareness is enabled, log new topology versions
- Operations events start,success or failure with request_id, server (address, port and uuid), operation_id, error string if presents
This approach can implement custom metrics, tracing and other useful client-side stuff in order to make client more observable
Attachments
Issue Links
- is related to
-
IGNITE-18788 Query listener in python thin client fire events only if a debug logging level enabled
- Resolved
-
IGNITE-18615 Implement events in java thin client
- Resolved
- links to