Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Operability
-
Low Hanging Fruit
-
All
-
None
-
Description
Recent java-driver's com.datastax.oss.driver.api.core.session.SessionBuilder respects properties ApplicationName and ApplicationVersion.
It would be helpful to expose this information via virtual table system_views.clients and with nodetool clientstats.
Additional information for newcomers:
The drivers can send as part of the STARTUP MESSAGE the APPLICATION_NAME and APPLICATION_VERSION options. Two new volatile fields applicationName and applicationVersion need to be added to ClientState in a similar way to driverName and driverVersion.
The APPLICATION_NAME and APPLICATION_VERSION options need to be retrieved in StartupMessage#execute and passed to the ClientState.
The new application_name and application_version columns need to be added to the system_views.clients represented by the ClientsTable class. The data then need to be retrieved from the ClientState through ConnectedClient.
Some unit tests similat to SettingsTableTest should be added.
Attachments
Issue Links
- is related to
-
CASSANDRA-17715 nodetool clientstats - client_options to be exposed by adding a new flag
- Resolved
-
CASSANDRA-17344 Documentation update of virtual table system_views.clients
- Resolved
- links to