Skip to content

Commit 5693c22

Browse files
add deploymentid to telemetry data for the connect to local atlas tool
1 parent 7a5ca88 commit 5693c22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/atlasLocal/connect/connectDeployment.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export class ConnectDeploymentTool extends AtlasLocalToolBase {
2222
// Connect to the deployment
2323
await this.session.connectToMongoDB({ connectionString });
2424

25+
// Lookup the deployment id and add it to the telemetry metadata
26+
await this.lookupDeploymentIdAndAddToTelemetryMetadata(client, deploymentName);
27+
2528
return {
2629
content: [
2730
{

0 commit comments

Comments
 (0)