Make LLM Obs MCP setup commands site-aware - #38485
Merged
mehulsonowal merged 1 commit intoJul 29, 2026
Merged
Conversation
Contributor
|
Bits Code status: ✅ Done Comment @DataDog to request changes |
Contributor
|
I can only run on private repositories. |
Contributor
Preview links (active after the
|
estherk15
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do? What is the motivation?
The in-product MCP setup commands were changed by https://github.com/DataDog/web-ui/pull/330414 from a hardcoded US1-only URL (
https://mcp.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=llmobs,core) to a site-aware dynamic URL pattern (https://mcp.{site}/v1/mcp?toolsets=llmobs,core), and the UI now always emits thecoretoolset alongsidellmobs. This updates the docs to match.Changes
content/en/llm_observability/mcp_server.md(Agent skills → Install): replaced the hardcoded US1claude mcp addcommand with a{{< region-param key="mcp_server_endpoint" >}}-based command wrapped in a{{< site-region region="us,us3,us5,eu,ap1,ap2,uk1" >}}block, updated the toolsets query string tollmobs,core, and added a{{< site-region region="gov,gov2" >}}unsupported-site alert — consistent with the rest of the page.content/en/llm_observability/guide/claude_code_skills.md(Datadog MCP server): applied the same site-region–aware command,llmobs,coretoolsets, and gov/gov2 unsupported-site alert.Testing / validation
<pre><code>+{{< region-param >}}+{{< site-region >}}shortcode convention already used elsewhere onmcp_server.md(so the endpoint renders per selected Datadog site rather than being hardcoded).mcp.datadoghq.comMCP URLs in the two edited sections.Merge readiness
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.AI assistance
Drafted with Bits Code (Datadog's AI coding agent), reviewed manually.
Additional notes
PR by Bits - View session in Datadog
Comment @DataDog to request changes