mongodb / mongo-jdbc-driver

JDBC Driver for MongoDB Atlas SQL interface
Apache License 2.0
36 stars 33 forks source link

SQL-883: Adding ClientInfo property to include client name/version to… #103

Closed bucaojit closed 2 years ago

bucaojit commented 2 years ago

… driver info

ClientInfo is an optional property that users can add a client name and version to the mongoDriverInformation, which is used to provide additional client metadata for connections. Format is: property["ClientInfo"]="name|version";

The information logged for "tableau-connector|f8807d3" will look like:

"clientMetadata": {"driver":{"name":"mongo-java-driver|sync|mongodb-jdbc|tableau-connector","version":"3.12.11|2.0.0-beta-2-6-gc915429|f8807d3"}
bucaojit commented 2 years ago

evergreen merge