We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc118c commit fb00c46Copy full SHA for fb00c46
packages/mongodb-build-info/src/index.ts
@@ -158,6 +158,10 @@ export async function identifyServerName({
158
}: IdentifyServerNameOptions): Promise<string> {
159
try {
160
const hostname = getHostnameFromUrl(connectionString);
161
+ if (hostname.match(ATLAS_REGEX)) {
162
+ return 'mongodb';
163
+ }
164
+
165
if (hostname.match(COSMOS_DB_REGEX)) {
166
return 'cosmosdb';
167
}
0 commit comments