Skip to content

[DOCS-15393] Consolidate OpenTelemetry hostname recommendations - #39301

Draft
brett0000FF wants to merge 6 commits into
masterfrom
brett.blue/otel-hostname-guidance
Draft

[DOCS-15393] Consolidate OpenTelemetry hostname recommendations#39301
brett0000FF wants to merge 6 commits into
masterfrom
brett.blue/otel-hostname-guidance

Conversation

@brett0000FF

@brett0000FF brett0000FF commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do? What is the motivation?

Fixes DOCS-15393

Hostname guidance for OpenTelemetry was spread across several pages. This expands Hostname and Tagging into a canonical reference, so there is one page to point users to.

Follow-up

A customer-facing metric for hostname issues is not covered yet.

Merge readiness

  • Ready for merge

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <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.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

AI assistance

Reviewed with Codex. Link targets, anchors, and shortcode balance were verified against the documentation source; factual claims were checked against the existing pages they consolidate.

Additional notes

Expand the Hostname and Tagging page into a canonical reference covering
hostname recommendations for each OpenTelemetry ingestion path: DDOT
Collector on Kubernetes, OTLP ingestion by the Datadog Agent, direct OTLP
intake for serverless workloads, and the standalone Collector with the
Datadog Exporter.

- Add a linked summary table of recommendations by ingestion path
- Split cloud resource detector lists per platform, including separate
  ECS on EC2 and ECS Fargate configurations
- Add pointers to the canonical page from the DDOT DaemonSet, serverless,
  Agent OTLP ingestion, and hostname mapping pages
brett0000FF and others added 5 commits August 18, 2026 17:44
Reorganize the recommendations around where telemetry is collected
relative to the workload, rather than by installation page:

- Agent or DDOT Collector co-located with the workload
- Node-level Collector sending to a gateway
- Collector on each host with the Datadog Exporter
- Direct OTLP intake without a host

Also:
- Correct the DDOT hostname explanation. DDOT runs inside the Datadog
  Agent, so the duplicate-host case is conflicting hostname attributes
  on incoming telemetry, not co-location.
- Document datadog.host.name as the explicit override.
- Name Fargate, gateway, and managed platform workflows. Fargate spans
  two topologies, so each section points to the other.
- Drop the unrelated cardinality setting from the override example.
- Restore h3 on the exporter reference headings so they appear in the
  table of contents, and split that reference material into its own
  section.
- Use "Infrastructure Host List" and keep the danger callout.
- Add reciprocal links from troubleshooting, the DDOT gateway page, and
  managed platforms.
"Topology" was not established vocabulary in these docs, and it needed a
justifying sentence to earn its place. The four section titles already
distinguish the cases, so the grouping does not need naming.

Avoided "deployment pattern" as the replacement: the DDOT install pages
already use it for the narrower Agent-vs-Gateway distinction, which cuts
across this four-way split.

Section anchor is now #hostname-recommendations; inbound links updated.
The four groups overlapped: a Collector DaemonSet forwarding to a
gateway matched two of them, and the Agent and DDOT Collector were
combined even though they call for different actions.

Split into five paths a reader can self-select from: Agent OTLP
ingestion, DDOT exporting directly, any Collector exporting through a
gateway, the OpenTelemetry Collector with the Datadog Exporter, and
direct OTLP intake.

Also:
- Scope the host-based guidance so it no longer covers Fargate. ECS
  Fargate does not support host-based deployments, so the Agent runs as
  a sidecar and the Agent hostname advice does not apply there.
- Correct the ECS Fargate attribute source: infraattributes needs
  aws.ecs.task.arn from the SDK's ECS detector, not a Collector-side
  [env, ecs] resourcedetection processor.
- Remove the duplicated statement of the organizing axis from Overview.
- Use "host tag inheritance" to match the rest of the docs.
- Make the Datadog Exporter path explicitly exclusive in both the table
  label and the heading, so it does not overlap the gateway path.
- Fix a self-contradictory sentence: setting datadog.host.name is itself
  setting an attribute, so it cannot be the remedy for not controlling
  emitted attributes. State the override directly instead.
- Replace "these workloads have no host to identify" with what is
  actually true: these paths do not use a host-based Agent or Collector.
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.

1 participant