Skip to content

Conversation

jeroenvervaeke
Copy link
Member

Proposed changes

Added atlas local deployment ID to telemetry.

Jira: [MCP-160] [mongodb-mcp-server] Update existing MongoDB telemetry

@jeroenvervaeke jeroenvervaeke requested a review from a team as a code owner October 9, 2025 07:43
return this.executeWithAtlasLocalClient(client, ...args);
}

protected async lookupDeploymentIdAndAddToTelemetryMetadata(client: Client, containerId: string): Promise<void> {
Copy link
Collaborator

@blva blva Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit - you're not really adding it to telemetry metadata, you're just setting the deploymentId right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the best name I could think of. I'm open to suggestions.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lookupDeploymentId, setDeploymentId, updateDeploymentId - I think you're doing only one thing, no need for the AndAdd...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I went with lookupDeploymentId.

@jeroenvervaeke jeroenvervaeke merged commit 91c11cc into feat-MCP-40 Oct 9, 2025
12 of 17 checks passed
@jeroenvervaeke jeroenvervaeke deleted the MCP-160 branch October 9, 2025 08:55
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.

2 participants