Closed bucaojit closed 2 years ago
This PR adds the driver name and version (major.minor) to the client metadata. Obtained from getClass().getPackage().getImplementationTitle() and getClass().getPackage().getImplementationVersion(), otherwise defaults to 'mongodb-jdbc' and 0.0.
getClass().getPackage().getImplementationTitle()
getClass().getPackage().getImplementationVersion()
Log from ADL:
"clientMetadata": {"driver":{"name":"mongo-java-driver|sync|mongodb-jdbc","version":"3.12.10|1.0"} ...
This PR adds the driver name and version (major.minor) to the client metadata.
Obtained from
getClass().getPackage().getImplementationTitle()
andgetClass().getPackage().getImplementationVersion()
, otherwise defaults to 'mongodb-jdbc' and 0.0.Log from ADL: