docs(otel): add contrib collector to self-managed Elastic guide#7032
Open
alexandra5000 wants to merge 5 commits into
Open
docs(otel): add contrib collector to self-managed Elastic guide#7032alexandra5000 wants to merge 5 commits into
alexandra5000 wants to merge 5 commits into
Conversation
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Contributor
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
commented
Jun 22, 2026
Comment on lines
+292
to
+293
| - name: ELASTIC_AGENT_OTEL | ||
| value: "true" |
Contributor
Author
There was a problem hiding this comment.
That flag is documented for Fleet-managed Elastic Agent to toggle OTel mode. To be confirmed if it is also necessary for standalone (or if something else should be set).
alexandra5000
commented
Jun 22, 2026
| export ELASTIC_API_KEY=your-encoded-api-key | ||
| ``` | ||
|
|
||
| Then create `gateway.yml`: |
Contributor
Author
There was a problem hiding this comment.
I based the gateway.yml on: elastic-agent/internal/edot/samples/linux/gateway.yml
alexandra5000
commented
Jun 22, 2026
Comment on lines
+140
to
+142
| ```bash | ||
| elastic-agent otel --config gateway.yml | ||
| ``` |
Contributor
Author
There was a problem hiding this comment.
Is this right?
Removes the "Deploy on k8s" section from the bare-metal guide and replaces it with a Next steps link to the upcoming kubernetes.md page. Keeps the bare-metal guide self-contained so it can merge independently. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 tasks
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.
Summary
Closes #6972
Adds a how-to guide for forwarding telemetry from an upstream contrib OpenTelemetry Collector to a self-managed Elastic Stack using an EDOT Collector gateway:
contrib otelcol-contrib → EDOT Collector (gateway mode) → Elasticsearch
gateway.ymlsample in elastic-agentGenerative AI disclosure
Did you use a generative AI (GenAI) tool to assist in creating this contribution?
If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used (e.g., Google Gemini, OpenAI ChatGPT-4, etc.).
Tool(s) and model(s) used: Claude Opus 4.8