OpenTelemetry intake API
APM Server supports receiving traces, metrics, and logs over the OpenTelemetry Protocol (OTLP). OTLP is the default transfer protocol for OpenTelemetry and is supported natively by APM Server.
APM Server supports two OTLP communication protocols on the same port:
- OTLP/HTTP (protobuf)
- OTLP/gRPC
The OTLP endpoint on APM Server is not recommended for new users; use Elastic Agent or Managed OTLP instead. Elastic OTel SDKs are only supported with Elastic Agent Gateway or Managed OTel intake, and using them with this intake is not supported.
| Name | Endpoint |
|---|---|
| OTLP metrics intake | /opentelemetry.proto.collector.metrics.v1.MetricsService/Export |
| OTLP trace intake | /opentelemetry.proto.collector.trace.v1.TraceService/Export |
| OTLP logs intake | /opentelemetry.proto.collector.logs.v1.LogsService/Export |
| Name | Endpoint |
|---|---|
| OTLP metrics intake | /v1/metrics |
| OTLP trace intake | /v1/traces |
| OTLP logs intake | /v1/logs |