Skip to content

docs: rewrite ECH OpenTelemetry quickstarts for Managed OTLP Endpoint - #7920

Merged
alexandra5000 merged 14 commits into
elastic:mainfrom
alexandra5000:docs/fix-contradictions-7874
Sep 15, 2026
Merged

alexandra5000 merged 14 commits into
elastic:mainfrom
alexandra5000:docs/fix-contradictions-7874

Conversation

@alexandra5000

@alexandra5000 alexandra5000 commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes two docs contradictions identified in #7874 (items 4 and 5).

Item 4 — ECH OpenTelemetry quickstarts (quickstart/ech/*.md):
The three ECH quickstarts (hosts/VMs, Docker, and Kubernetes) previously walked users through Elastic Agent with the elasticsearch exporter writing directly to Elasticsearch. That contradicted the architecture docs (ECH → Managed OTLP Endpoint) and the modes reference.

These pages are now rewritten so the Managed OTLP Endpoint is the primary path:

  • Manual install steps collect the MOTLP endpoint and an API key with apm / event:write privileges (index-level role descriptors are not supported).
  • Collector configuration links to the matching sample and pipeline docs for MOTLP.
  • Direct ingestion with the elasticsearch exporter remains as a secondary section for pipeline customizations that MOTLP does not yet support.
  • Docker Compose users start from the host samples and adapt them for the /hostfs and Docker socket mounts.

Also updates quickstart/ech/index.md for the Agent/EDOT naming.

Item 5 — Rebrand miss in apm/opentelemetry/index.md:
The 9.5 rebrand updated the {{edot}} substitution value, but this page still contained literal strings. Replaced remaining EDOT brand strings with {{edot}} / {{agent}} as appropriate.

Fixes #7874

@alexandra5000 alexandra5000 self-assigned this Aug 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

alexandra5000 and others added 3 commits August 21, 2026 15:15
…Kubernetes to emphasize the use of the Managed OTLP Endpoint
…Kubernetes to clarify configuration steps and emphasize the Managed OTLP Endpoint usage.
@alexandra5000 alexandra5000 changed the title docs: fix ECH quickstart architecture note and rebrand miss in apm/otel index docs: rewrite ECH OpenTelemetry quickstarts for Managed OTLP Endpoint Aug 31, 2026
@alexandra5000
alexandra5000 marked this pull request as ready for review August 31, 2026 16:19
@alexandra5000
alexandra5000 requested a review from a team as a code owner August 31, 2026 16:19

@mdbirnstiehl mdbirnstiehl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One comment, but otherwise LGTM!

alexandra5000 and others added 2 commits September 1, 2026 16:23
Users can get their MOTLP endpoint and API key in one place using the
Add data wizard in Elastic Observability, rather than retrieving the
endpoint and creating an API key as separate steps.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

@eedugon eedugon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@felixbarny
felixbarny requested a review from ChrsMark September 4, 2026 07:03
@alexandra5000
alexandra5000 enabled auto-merge (squash) September 15, 2026 10:45
@alexandra5000
alexandra5000 merged commit 51bcb54 into elastic:main Sep 15, 2026
8 of 9 checks passed
@alexandra5000
alexandra5000 deleted the docs/fix-contradictions-7874 branch September 15, 2026 10:56
alexandra5000 added a commit to alexandra5000/docs-content that referenced this pull request Sep 23, 2026
Resolves conflicts in the three ECH quickstarts, which main rewrote for
the Managed OTLP Endpoint in elastic#7920:

- Frontmatter descriptions: keep main's wording, including the Managed
  OTLP Endpoint phrasing, and re-apply this branch's fix that replaces
  the {{agent}} substitution with a literal. Substitutions are not
  expanded in the description frontmatter, so they render verbatim in
  the meta description.
- ech/hosts_vms.md: keep main's structure, which moves the elasticsearch
  exporter configuration out of the stepper into its own section, and
  re-apply this branch's change that replaces the Explore your data
  placeholder with the shared snippet.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
alexandra5000 added a commit to alexandra5000/docs-content that referenced this pull request Sep 23, 2026
Correctness:

- serverless/docker.md: the compose file was indented so that every service key
  was a sibling of the service name, which Docker Compose rejects. Re-indent to
  match the other Docker quickstarts.
- self-managed/k8s.md: the intro said "in Docker" on the Kubernetes page.
- _snippets/serverless-endpoint-api.md: the serverless OpenTelemetry onboarding
  flow has no Managed OTLP Endpoint selector and no Create API Key button. Step 2
  shows the endpoint and an API key that Elastic generates.
- quickstart-elastic-cloud-otel-endpoint.md: kubectl create secret --from-literal
  encodes the value, so telling readers to also base64-encode it double-encoded
  the example shown directly above.
- self-managed/index.md: the "install your self-managed Elastic Stack" link
  pointed at Use OpenTelemetry with Elastic APM.
- serverless/index.md: the Managed OTLP Endpoint is no longer Serverless-only.
- start-with-otel.md: drop the note describing the ECH quickstarts as writing
  directly to Elasticsearch with the elasticsearch exporter. elastic#7920 rewrote them
  to lead with the Managed OTLP Endpoint. The recommendation is unchanged.

Consistency across the matrix:

- Add the missing content pack steps to serverless/k8s.md,
  serverless/hosts_vms.md and ech/hosts_vms.md, and add System OpenTelemetry
  Assets to serverless/docker.md.
- Give self-managed/docker.md and serverless/docker.md the same Collector
  configuration guidance as ech/docker.md, so both can be completed without
  leaving the page.
- Standardize the 4317/4318 note and the troubleshooting headings.

applies_to and frontmatter:

- Self-managed pages no longer claim to apply to Serverless; serverless pages no
  longer carry a bare stack key; ech/index.md now matches its three children.
- Remove the remaining substitutions from description, which docs-builder does
  not expand.
- Re-home the four legacy mapped_pages URLs from the deleted quickstarts onto
  quickstart/index.md.
- Link the canonical Managed OTLP Endpoint reference pages instead of redirects.

The shared explore-your-data snippet no longer carries inline deployment badges.
It is included by nine pages scoped to three different deployment types, so the
badges rendered on pages they did not apply to: a Serverless badge on the ECH and
self-managed pages, and a Stack 9.0-9.3 Metrics Explorer pointer on the
Serverless pages, where Metrics Explorer is not available. The version split now
lives in the metrics explore hub that the snippet links to.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.

Fix contradictions and stale content found during 'Start using OTel' guide authoring

4 participants