Since 0.4, this driver supports following metrics targets, you can check the example under examples/Metrics
to see how to expose a prometheus interface.
You can also check the document of metrics report from seastar's repository.
The total number of connections opened.
The current number of open connections.
The total number of errors while initializing connections.
The total number of errors while sending messages.
The total number of errors while receiving messages.
The total number of messages sent.
The total number of messages received.
The total number of QUERY or EXECUTE command successfully executed.
The total number of QUERY or EXECUTE command failed to execute.
The total number of BATCH command successfully executed.
The total number of BATCH command failed to execute.