Skip to content

(feat): add app name to mongo atlas query#348

Merged
adityaoberai merged 2 commits into
mainfrom
feat-add-appname
May 8, 2026
Merged

(feat): add app name to mongo atlas query#348
adityaoberai merged 2 commits into
mainfrom
feat-add-appname

Conversation

@abnegate
Copy link
Copy Markdown
Member

What does this PR do?

(Provide a description of what this PR does.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 30, 2026

Greptile Summary

This PR adds an appName field to the MongoClient constructor options in the Node.js MongoDB Atlas query template, correctly tagging the connection as devrel-integration-atlas-appwrite-node for Atlas monitoring and profiling.

  • Adds appName: 'devrel-integration-atlas-appwrite-node' to identify Node.js traffic correctly in Atlas dashboards — the value matches the runtime and template.

Confidence Score: 5/5

Safe to merge — a single-line additive change with no logic or data-path modifications.

The change only adds a metadata string to the MongoClient options. The appName value correctly reflects the Node.js runtime and template name, and the rest of the connection setup is untouched.

No files require special attention.

Important Files Changed

Filename Overview
node/query-mongo-atlas/src/mongo.js Adds appName: 'devrel-integration-atlas-appwrite-node' to MongoClient options so Atlas monitoring correctly attributes connections to this Node.js integration.

Reviews (2): Last reviewed commit: "Apply suggestion from @adityaoberai" | Re-trigger Greptile

Comment thread node/query-mongo-atlas/src/mongo.js Outdated
Comment thread node/query-mongo-atlas/src/mongo.js Outdated
@adityaoberai adityaoberai merged commit 4eb58cb into main May 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants