We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, applications using KMongo will report the Java driver in client metadata in server logs, e.g.
{... "msg":"client metadata","attr":{"remote":"127.0.0.1:58064","client":"conn17","doc":{"driver":{"name":"mongo-java-driver|sync","version":"4.7.1"},"os":{"type":"Darwin","name":"Mac OS X","architecture":"x86_64","version":"12.5.1"},"platform":"Java/Oracle Corporation/17+35-LTS-2724"}}}
With a small change to KMongo, it will report as
{... "msg":"client metadata","attr":{"remote":"127.0.0.1:58064","client":"conn17","doc":{"driver":{"name":"mongo-java-driver|sync|kmongo","version":"4.7.1"},"os":{"type":"Darwin","name":"Mac OS X","architecture":"x86_64","version":"12.5.1"},"platform":"Java/Oracle Corporation/17+35-LTS-2724|Kotlin/1.7.10"}}}
which could be beneficial for users trying to track which connections come from which applications.
The text was updated successfully, but these errors were encountered:
Litote#369 Add client metadata for KMongo
3f404c7
#369 Add client metadata for KMongo
6434d74
No branches or pull requests
Currently, applications using KMongo will report the Java driver in client metadata in server logs, e.g.
{... "msg":"client metadata","attr":{"remote":"127.0.0.1:58064","client":"conn17","doc":{"driver":{"name":"mongo-java-driver|sync","version":"4.7.1"},"os":{"type":"Darwin","name":"Mac OS X","architecture":"x86_64","version":"12.5.1"},"platform":"Java/Oracle Corporation/17+35-LTS-2724"}}}
With a small change to KMongo, it will report as
{... "msg":"client metadata","attr":{"remote":"127.0.0.1:58064","client":"conn17","doc":{"driver":{"name":"mongo-java-driver|sync|kmongo","version":"4.7.1"},"os":{"type":"Darwin","name":"Mac OS X","architecture":"x86_64","version":"12.5.1"},"platform":"Java/Oracle Corporation/17+35-LTS-2724|Kotlin/1.7.10"}}}
which could be beneficial for users trying to track which connections come from which applications.
The text was updated successfully, but these errors were encountered: