You can get performance metrics and diagnostic information by requesting a snapshot:
CassMetrics metrics;
cass_session_get_metrics(session, &metrics);
http://datastax.github.io/cpp-driver/topics/metrics/
~Fero
Thanks Fero. Is there a way to get more information on which of the current connections is unavailable? We would like to be able to report the status of each Node from our application.
Jacob,
Unfortunately that is not possible with the driver currently. You could parse the log messages from the driver (CASS_LOG_TRACE) and monitor the connects and disconnects from a particular host in your application using the callback mechanism.
Feel free to create a ticket (https://datastax-oss.atlassian.net/browse/CPP) and/or generate a pull request; contributions are always welcome.
~Fero