Loading

Ingest metrics into a TSDS using the OTLP/HTTP endpoint

Elasticsearch supports metrics ingestion through the OpenTelemetry Protocol (OTLP).

For OpenTelemetry metrics, prefer the Elasticsearch OTLP/HTTP endpoint over the Bulk API because it's optimized for OTLP ingest performance. It also simplifies setup by automatically creating TSDS through built-in index templates, and deriving dimensions and metric mappings from OTLP metadata.

For more details, refer to the Elasticsearch OTLP/HTTP endpoint reference.