Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contribute-docs/_snippets/applies_to-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* `edot_android`: Applies to the [Elastic Distribution of OpenTelemetry Android](https://www.elastic.co/docs/reference/opentelemetry/edot-sdks/android/) (EDOT Android).
* `edot_cf_aws`: Applies to the [Elastic Cloud Forwarder](https://www.elastic.co/docs/reference/opentelemetry/edot-cloud-forwarder/) (Elastic Cloud Forwarder).
* `edot_cf_azure`: Applies to the [Elastic Cloud Forwarder](https://www.elastic.co/docs/reference/opentelemetry/edot-cloud-forwarder/) (Elastic Cloud Forwarder).
* `edot_collector`: Applies to [{{agent}} in OpenTelemetry mode](https://www.elastic.co/docs/reference/opentelemetry/edot-collector/) ({{agent}}).
* `edot_collector`: Applies to [{{agent}} configured as an OTel Collector](https://www.elastic.co/docs/reference/opentelemetry/edot-collector/) ({{agent}}).
* `edot_dotnet`: Applies to the [Elastic Distribution of OpenTelemetry .NET](https://www.elastic.co/docs/reference/opentelemetry/edot-sdks/dotnet/) (EDOT .NET).
* `edot_ios`: Applies to the [Elastic Distribution of OpenTelemetry iOS](https://www.elastic.co/docs/reference/opentelemetry/edot-sdks/ios/) (EDOT iOS).
* `edot_java`: Applies to the [Elastic Distribution of OpenTelemetry Java](https://www.elastic.co/docs/reference/opentelemetry/edot-sdks/java/) (EDOT Java).
Expand Down
2 changes: 1 addition & 1 deletion manage-data/data-store/data-streams/tsds-ingest-otlp.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ products:
{{es}} accepts [OpenTelemetry Protocol (OTLP)](https://opentelemetry.io/docs/specs/otlp) metrics on `/_otlp/v1/metrics`, one of the [{{es}} OTLP/HTTP endpoint](/manage-data/ingest/otlp-endpoint.md) paths.
The endpoint is a native ingest API, like the [bulk API]({{es-apis}}operation/operation-bulk).
To decide whether to use the OTLP endpoint for OpenTelemetry metrics, refer to [When to use the {{es}} OTLP endpoint](/manage-data/ingest/otlp-endpoint.md#when-to-use).
In most setups, applications send metrics to the {{motlp}} or to an [{{agent}} in Gateway mode](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode) rather than to this endpoint.
In most setups, applications send metrics to the {{motlp}} or to an [{{agent}} configured as an OTel Collector gateway](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode) rather than to this endpoint.

{{es}} stores metrics that arrive on `/_otlp/v1/metrics` as follows:

Expand Down
8 changes: 4 additions & 4 deletions manage-data/ingest/otlp-endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The endpoint does not run the [`elasticapm` processor](elastic-agent://reference
The intended client for this endpoint is a gateway Collector, not an application. How you send OpenTelemetry data to {{es}} depends on your deployment type:

* On {{ech}} and {{serverless-full}}, use the [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) rather than `/_otlp`. The {{motlp}} is a separate ingestion host, and it enriches traces and produces aggregated {{product.apm}} metrics.
* On self-managed, {{ece}}, and {{eck}} deployments, send application data to an [{{agent}} in Gateway mode](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode). The gateway runs the `elasticapm` processor and connector, then writes the enriched result to {{es}}, either to `/_otlp` or through the [{{es}} exporter](elastic-agent://reference/edot-collector/components/elasticsearchexporter.md).
* On self-managed, {{ece}}, and {{eck}} deployments, send application data to an [{{agent}} configured as an OTel Collector gateway](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode). The gateway runs the `elasticapm` processor and connector, then writes the enriched result to {{es}}, either to `/_otlp` or through the [{{es}} exporter](elastic-agent://reference/edot-collector/components/elasticsearchexporter.md).

The {{es}} OTLP/HTTP endpoint exposes three signal-specific paths:

Expand All @@ -42,7 +42,7 @@ For most users, one of the following higher-level ingestion paths is recommended
| Deployment | Recommended ingestion path |
| --- | --- |
| {{ech}} and {{serverless-short}} | [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) |
| {{ece}}, {{eck}}, and self-managed | [{{agent}} in Gateway mode](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode), which runs the `elasticapm` processor and connector before writing to {{es}} |
| {{ece}}, {{eck}}, and self-managed | [{{agent}} configured as an OTel Collector gateway](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode), which runs the `elasticapm` processor and connector before writing to {{es}} |

Use {{motlp}} if it's available in your deployment, even when an application can target the {{es}} OTLP endpoint directly.

Expand Down Expand Up @@ -158,7 +158,7 @@ service:

The exporter appends the signal-specific path (`/v1/logs`, `/v1/traces`, `/v1/metrics`) to the configured `endpoint`.

To ingest enriched traces and aggregated {{product.apm}} metrics, run the `elasticapm` processor and connector in the pipeline before this exporter, as [{{agent}} in Gateway mode](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode) does.
To ingest enriched traces and aggregated {{product.apm}} metrics, run the `elasticapm` processor and connector in the pipeline before this exporter, as [{{agent}} configured as an OTel Collector gateway](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode) does.

These values are starting points for a gateway Collector.
Tune them for your workload and Collector resources.
Expand Down Expand Up @@ -301,7 +301,7 @@ If you don't need exemplars, or want to avoid the additional storage, turn it of

* **Trace enrichment and {{product.apm}} metrics:** The endpoint does not run the `elasticapm` processor or connector.
Traces are stored as received, no aggregated {{product.apm}} metrics are produced, and the {{product.apm}} views that depend on them, such as the service inventory and service map, stay empty.
For the full {{product.apm}} experience, send traces to the [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) or through an [{{agent}} in Gateway mode](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode).
For the full {{product.apm}} experience, send traces to the [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) or through an [{{agent}} configured as an OTel Collector gateway](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode).
* **Delivery guarantees:** {{es}} can only acknowledge an OTLP request as a whole, not on a per-record basis.
If part of a request fails, the client retries the entire batch, which can produce duplicate logs or trace spans.
Metrics are not affected because metric points written to time series data streams are [deduplicated based on their dimensions and timestamp](/manage-data/data-store/data-streams/time-series-data-stream-tsds.md#time-series-dimension).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:::{important}
OpenTelemetry input packages are used with {{fleet}} and {{agent}} running in default mode. They cannot be used with an [{{agent}} running as an OTel Collector](/reference/fleet/otel-agent.md) (an agent in `otel` mode).
OpenTelemetry input packages are used with {{fleet}}-managed {{agent}} or standalone {{agent}} configured with `elastic-agent.yml`. They cannot be used with an [{{agent}} configured as an OTel Collector](/reference/fleet/otel-agent.md).
:::
10 changes: 5 additions & 5 deletions reference/fleet/elastic-agent-as-otel-collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ The same automatic asset deployment applies when using standalone {{agent}}: onc

## Collector type comparison [collector-comparison]

Depending on your environment, you can use {{agent}} (as described on this page), standalone [{{agent}}](elastic-agent://reference/edot-collector/index.md) in OTel mode, or a third-party OpenTelemetry Collector to send OTel data to Elastic. The following table highlights the differences between these options in terms of management capabilities and feature support:
Depending on your environment, you can use {{agent}} (as described on this page), standalone [{{agent}}](elastic-agent://reference/edot-collector/index.md) configured as an OTel Collector, or a third-party OpenTelemetry Collector to send OTel data to Elastic. The following table highlights the differences between these options in terms of management capabilities and feature support:

| Collector | {{fleet}} central monitoring | {{fleet}} central management | Beat receivers | {{ls}} exporter | {{elastic-defend}} | Cloud Security | Profiler |
| --- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
Expand All @@ -161,7 +161,7 @@ Depending on your environment, you can use {{agent}} (as described on this page)
*Planned* indicates that support is on the roadmap and not yet generally available.

:::{note}
A standalone {{agent}} can enroll into {{fleet}} in the field if an in-place upgrade to {{fleet}}-managed is required. Standalone {{agent}} in OTel mode does not support enrollment into {{fleet}}.
A standalone {{agent}} can enroll into {{fleet}} in the field if an in-place upgrade to {{fleet}}-managed is required. Standalone {{agent}} configured as an OTel Collector does not support enrollment into {{fleet}}.
:::

## Frequently asked questions [faq]
Expand Down Expand Up @@ -205,12 +205,12 @@ receivers:

:::{dropdown} What are the differences between {{fleet}}-managed {{agent}}, standalone {{agent}}, and a third-party OpenTelemetry Collector?

The main difference is management support. {{agent}} can be managed by {{fleet}} when you use {{fleet}}-managed deployment. Standalone {{agent}} in OTel mode does not support {{fleet}} enrollment or central management. Some features, such as {{elastic-defend}}, are only available under {{fleet}} management and cannot be used with standalone {{agent}} alone. Refer to the [collector type comparison](#collector-comparison) table for a full breakdown.
The main difference is management support. {{agent}} can be managed by {{fleet}} when you use {{fleet}}-managed deployment. Standalone {{agent}} configured as an OTel Collector does not support {{fleet}} enrollment or central management. Some features, such as {{elastic-defend}}, are only available under {{fleet}} management and cannot be used with standalone {{agent}} alone. Refer to the [collector type comparison](#collector-comparison) table for a full breakdown.
:::

:::{dropdown} What is the future of {{agent}} in standalone mode?
:::{dropdown} What is the future of standalone {{agent}}?

Standalone {{agent}} use cases can now be addressed using {{agent}} in OTel mode. A practical advantage of the standalone {{agent}} today is that it can be upgraded to {{fleet}}-managed in the field without having to reinstall it.
Standalone {{agent}} use cases can now be addressed using {{agent}} configured as an OTel Collector. A practical advantage of the standalone {{agent}} today is that it can be upgraded to {{fleet}}-managed in the field without having to reinstall it.
:::

:::{dropdown} Can data collected with third-party OTel Collectors trigger the automatic installation of relevant assets?
Expand Down
2 changes: 1 addition & 1 deletion reference/fleet/otel-agent-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ products:

# Transform an installed {{agent}} to run as an OTel Collector [otel-agent-transform]

If you have a currently installed standalone {{agent}}, you can configure it to run as an [OTel Collector](otel-agent.md). This allows you to run {{agent}} both as a service and in an OTel Collector mode.
If you have a currently installed standalone {{agent}}, you can configure it to run as an [OTel Collector](otel-agent.md). This allows you to run {{agent}} both as a service and as an OTel Collector.

To configure an installed standalone {{agent}} to run as an OTel Collector, include a valid [OTel Collector](otel-agent.md) configuration in the `elastic-agent.yml` file, as shown in the following example.

Expand Down
4 changes: 2 additions & 2 deletions reference/fleet/otel-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ products:

[{{agent}}](elastic-agent://reference/edot-collector/index.md) is an open-source agent that can receive, process, and export telemetry data. {{agent}} includes an embedded OTel Collector that allows you to instrument your applications and infrastructure once, and send data to multiple vendors and backends.

When you run {{agent}} in `otel` mode, it supports the standard OpenTelemetry Collector configuration format that defines a set of receivers, processors, exporters, and connectors. Logs, metrics, and traces can be collected and exported using OpenTelemetry data formats.
When you configure {{agent}} as an OTel Collector, it supports the standard OpenTelemetry Collector configuration format that defines a set of receivers, processors, exporters, and connectors. Logs, metrics, and traces can be collected and exported using OpenTelemetry data formats.

For a full overview and steps to configure {{agent}} in `otel` mode, including a guided onboarding, refer to [{{agent}} in OpenTelemetry mode](elastic-agent://reference/edot-collector/index.md). You can also check the [`elastic-agent otel` command](/reference/fleet/agent-command-reference.md#elastic-agent-otel-command) in the {{fleet}} and {{agent}} Command reference.
For a full overview and configuration steps, including a guided onboarding, refer to [{{agent}} configured as an OTel Collector](elastic-agent://reference/edot-collector/index.md). You can also check the [`elastic-agent otel` command](/reference/fleet/agent-command-reference.md#elastic-agent-otel-command) in the {{fleet}} and {{agent}} Command reference.

If you have a currently running {{agent}} you can [transform it to run as an OTel Collector](/reference/fleet/otel-agent-transform.md).
2 changes: 1 addition & 1 deletion reference/fleet/view-otel-collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can narrow the Agents list to only display OTel Collectors in two ways:
* From the **Tags** filter, select a tag. Every collector is automatically tagged with its service name, plus any tags you added when creating the collector group.
* From the **Agent policies** filter, select **OpAMP**. {{fleet}} creates this managed policy automatically when you add your first collector, and enrolls every collector into it. The policy is hidden from the **Agent policies** tab, but you can still use it to filter the list.

Each collector is automatically tagged with its service name. This is the **Service name** you set when you added the collector, which defaults to a slug of the collector group display name, such as `otel-collector-group`. {{agent}} running in OTel mode reports `elastic-otel-collector`. Any labels you enter in the **Tags** field are added as extra tags.
Each collector is automatically tagged with its service name. This is the **Service name** you set when you added the collector, which defaults to a slug of the collector group display name, such as `otel-collector-group`. {{agent}} configured as an OTel Collector reports `elastic-otel-collector`. Any labels you enter in the **Tags** field are added as extra tags.

### Available actions

Expand Down
2 changes: 1 addition & 1 deletion solutions/observability/apm/opentelemetry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ Find more details about how to use an OpenTelemetry API or SDK with an Elastic A

AWS Lambda functions can be instrumented with OpenTelemetry and monitored with Elastic {{observability}} or {{obs-serverless}}.

To get started, follow the official AWS Distribution for OpenTelemetry Lambda documentation, and [configure {{agent}} in Gateway mode](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode) to send traces and metrics to your Elastic cluster:
To get started, follow the official AWS Distribution for OpenTelemetry Lambda documentation, and [configure {{agent}} as an OTel Collector gateway](elastic-agent://reference/edot-collector/config/default-config-standalone.md#gateway-mode) to send traces and metrics to your Elastic cluster:

[**Get started with the AWS Distro for OpenTelemetry Lambda**](https://aws-otel.github.io/docs/getting-started/lambda)
2 changes: 1 addition & 1 deletion solutions/observability/applications/otel-rum.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Elastic also provides the [EDOT Browser](elastic-otel-rum-js://reference/edot-br

## Before you begin [before-you-begin]

You need an OTLP endpoint to ingest data from the OpenTelemetry RUM instrumentation. If you're setting up a new deployment, [create](/solutions/observability/get-started.md) an {{ecloud}} hosted deployment or {{serverless-short}} project, which includes the [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md). If you own a self-hosted stack or your deployment does not have the {{motlp}}, configure [{{agent}} in Gateway mode](https://www.elastic.co/docs/reference/edot-collector/modes#edot-collector-as-gateway).
You need an OTLP endpoint to ingest data from the OpenTelemetry RUM instrumentation. If you're setting up a new deployment, [create](/solutions/observability/get-started.md) an {{ecloud}} hosted deployment or {{serverless-short}} project, which includes the [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md). If you own a self-hosted stack or your deployment does not have the {{motlp}}, configure [{{agent}} as an OTel Collector gateway](elastic-agent://reference/edot-collector/modes.md#edot-collector-as-gateway).

After you have prepared the OTLP endpoint, set up a reverse proxy to forward the telemetry from your web application origin to the Collector. You need a reverse proxy for the following reasons:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you already use classic Elastic {{product.apm}} agents, {{beats}}, or {{agent

## Before you begin [start-with-otel-prereqs]

EDOT SDKs and {{agent}} in OTel mode require {{stack}} 8.16 or later for basic compatibility. For a supported configuration, use:
EDOT SDKs and {{agent}} configured as an OTel Collector require {{stack}} 8.16 or later for basic compatibility. For a supported configuration, use:

* {{stack}} 9.x, or
* {{stack}} 8.18 or 8.19 with {{agent}} version 9.x. You have to keep your configuration aligned to your Stack version, not the {{agent}} 9.x defaults.
Expand Down Expand Up @@ -81,7 +81,7 @@ Refer to [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) for the

::::{applies-item} self:

**Run {{agent}} in gateway mode.**
**Run {{agent}} as a gateway.**

The {{motlp}} is not available for self-managed Elastic, ECE, or ECK deployments. You need an {{agent}} running as a [gateway](elastic-agent://reference/edot-collector/modes.md).

Expand Down
Loading
Loading