Skip to content

[PANA-6501] Add browser-intake domains to allowedRegions exact_domains#35325

Merged
abo-ddg merged 1 commit intomasterfrom
andre.boivineau/PANA-6501
Mar 17, 2026
Merged

[PANA-6501] Add browser-intake domains to allowedRegions exact_domains#35325
abo-ddg merged 1 commit intomasterfrom
andre.boivineau/PANA-6501

Conversation

@abo-ddg
Copy link
Copy Markdown
Contributor

@abo-ddg abo-ddg commented Mar 17, 2026

Problem
The Product Analytics server-side events API endpoint uses browser-intake-* domains (e.g., browser-intake-datadoghq.com) which don't follow the standard {subdomain}.{site} pattern. The API reference template resolves region support by matching endpoint server domains against allowedRegions in params.yaml. Since browser-intake domains didn't match any allowedRegions[].domain (primary pass) or allowedRegions[].exact_domains (fallback pass), the endpoint resolved to zero regions. The template then rendered a hidden "Not supported in the {REGION} region" span for each region, and since the docs site defaults to showing the US region, users saw "Not supported in the US region".

Fix

This adds the browser-intake-* domains to exact_domains for each region so the fallback matching pass correctly maps each intake domain to its region.

Also fixes a pre-existing YAML formatting issue in the EU region's exact_domains list (missing list prefix).

What does this PR do? What is the motivation?

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

AI assistance

Additional notes

The Product Analytics server-side events API endpoint uses browser-intake-*
domains (e.g., browser-intake-datadoghq.com) which don't follow the standard
{subdomain}.{site} pattern. The API reference template resolves region support
by matching endpoint server domains against allowedRegions in params.yaml.
Since browser-intake domains didn't match any allowedRegions[].domain (primary
pass) or allowedRegions[].exact_domains (fallback pass), the endpoint resolved
to zero regions. The template then rendered a hidden "Not supported in the
{REGION} region" span for each region, and since the docs site defaults to
showing the US region, users saw "Not supported in the US region".

This adds the browser-intake-* domains to exact_domains for each region so
the fallback matching pass correctly maps each intake domain to its region.

Also fixes a pre-existing YAML formatting issue in the EU region's
exact_domains list (missing list prefix).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abo-ddg abo-ddg requested a review from a team as a code owner March 17, 2026 09:24
@github-actions github-actions Bot added the Architecture Everything related to the Doc backend label Mar 17, 2026
@abo-ddg abo-ddg merged commit e469a02 into master Mar 17, 2026
20 of 21 checks passed
@abo-ddg abo-ddg deleted the andre.boivineau/PANA-6501 branch March 17, 2026 14:50
genesor pushed a commit that referenced this pull request Apr 19, 2026
#35325)

The Product Analytics server-side events API endpoint uses browser-intake-*
domains (e.g., browser-intake-datadoghq.com) which don't follow the standard
{subdomain}.{site} pattern. The API reference template resolves region support
by matching endpoint server domains against allowedRegions in params.yaml.
Since browser-intake domains didn't match any allowedRegions[].domain (primary
pass) or allowedRegions[].exact_domains (fallback pass), the endpoint resolved
to zero regions. The template then rendered a hidden "Not supported in the
{REGION} region" span for each region, and since the docs site defaults to
showing the US region, users saw "Not supported in the US region".

This adds the browser-intake-* domains to exact_domains for each region so
the fallback matching pass correctly maps each intake domain to its region.

Also fixes a pre-existing YAML formatting issue in the EU region's
exact_domains list (missing list prefix).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants