Skip to content

Identify AppWrite when connecting to MongoDB database #11822

@bisht2050

Description

@bisht2050

🔖 Enhancement description

When Appwrite establishes a connection to MongoDB, it does not identify itself as the wrapping entity over the MongoDB Driver. Instead, all connections from Appwrite appear as anonymous PHP driver connections
(https://specifications.readthedocs.io/en/latest/mongodb-handshake/handshake/#supporting-wrapping-libraries)

🎤 Pitch

When running multiple clients against the same MongoDB instance, there is no way to identify which connections belong to Appwrite in server logs. All Appwrite connections appear as anonymous PHP clients, making it extremely difficult to isolate Appwrite-specific queries, slow operations, or connection spikes during debugging.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    product / databasesFixes and upgrades for the Appwrite Database.sdk / cliFixes and upgrades for the Appwrite CLI.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions