When using pymongo to create a client connection, pymongo have the the parameter appname:
appname: (string or None) The name of the application that created