Skip to content

Commit 6d32677

Browse files
Add placeholder for 'transform to OTel Collector' docs (#1550)
* Add placeholder for 'transform to OTel Collector' docs * Add include statement (commented out) * Update docs/en/ingest-management/elastic-agent/otel-agent-transform.asciidoc Co-authored-by: shainaraskas <[email protected]> --------- Co-authored-by: shainaraskas <[email protected]>
1 parent 94dfe3e commit 6d32677

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[[otel-agent-transform]]
2+
== Transform an installed {agent} to run as an OTel Collector
3+
4+
preview::[]
5+
6+
If you have a currently installed {agent}, you change it to run as an <<otel-agent,OTel Collector>>.
7+
8+
To transform {agent} to an OTel Collector:
9+
10+
. Some instruction.
11+
12+
. Some other instruction. Run the `elastic-agent -transform-otel` command:
13+
+
14+
[source,shell]
15+
----
16+
elastic-agent -switch-me-to-otel-please
17+
----
18+
19+
20+

docs/en/ingest-management/elastic-agent/otel-agent.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ The link:https://opentelemetry.io/docs/collector/[OpenTelemetry Collector] is a
88
When you run {agent} in `otel` mode it supports the standard OTel Collector configuration format that defines a set of receivers, processors, exporters, and connectors. Logs, metrics, and traces can be ingested using OpenTelemetry data formats.
99

1010
For a full overview and steps to configure {agent} in `otel` mode, including a guided onboarding, refer to the link:https://github.com/elastic/opentelemetry/tree/main[Elastic Distributions for OpenTelemetry] repository in GitHub. You can also check the <<elastic-agent-otel-command,`elastic-agent otel` command>> in the {fleet} and {agent} Command reference.
11+
12+
// If you have a currently running {agent} you can <<otel-agent-transform,transform it to run as an OTel Collector>>.

docs/en/ingest-management/index.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ include::elastic-agent/configuration/env/container-envs.asciidoc[leveloffset=+3]
7171

7272
include::elastic-agent/otel-agent.asciidoc[leveloffset=+2]
7373

74+
//include::elastic-agent/otel-agent-transform.asciidoc[leveloffset=+2]
75+
7476
include::elastic-agent/elastic-agent-unprivileged-mode.asciidoc[leveloffset=+2]
7577

7678
include::elastic-agent/install-agent-msi.asciidoc[leveloffset=+2]

0 commit comments

Comments
 (0)