← Back to Pull requests

Clarify metric temporality support by Elasticsearch version and ingestion path #9604

Merged
alexandra5000 merged 4 files (62 lines) on Dec 03, 2026 10:37 UTC
View on GitHub
alexandra5000 alexandra5000 commented on Nov 24, 2026 13:18 UTC
Author

Part of #7963.

Summary

Several pages stated temporality support without the version or ingestion-path limits that apply to it. This PR scopes those statements and links to the full matrix in Histogram and counter temporality (updated in elastic/opentelemetry#694). The 9.2–9.4 and 9.5+ behavior is verified against the Elasticsearch x-pack/plugin/otel-data source.

Changes

  • manage-data/ingest/otlp-endpoint.md: Metric temporality now applies from 9.2. It splits the 9.5+ behavior (temporality preserved in a temporality dimension) from the 9.2–9.4 behavior (cumulative sums stored as counters, delta sums as gauges, cumulative histograms rejected).

  • time-series-data-stream-tsds.md: scopes delta temporality support for counters to 9.5+.

  • metric-temporality.md: says that on ECH, the Managed OTLP Endpoint preserves temporality only on 9.5.3 and later.

  • reference/managed-inputs/managed-otlp-endpoint.md: rewrites the temporality paragraph under Metrics ingestion on ECH to cover the supported temporality on each route.
  • 🤖 Generated with Claude Code

    Diff: 62 lines (+39 / -23) across 4 files Reviewer: kosabogi Review duration: 12799m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.32) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.32 · 62 lines diff across 4 files
    0.32
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 5 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    90%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.248
    Real PR Conversation Timeline
    20 items
    github-actions[bot] github-actions[bot] commented on Nov 24, 2026 13:19 UTC
    Bot

    <!-- docs-pr-ai-menu:start -->

    Elastic Docs AI PR menu

    Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started. <!-- docs-pr-ai-menu:docs-review -->
  • Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

    <!-- docs-pr-ai-menu:end -->

    github-actions[bot] github-actions[bot] commented on Nov 24, 2026 13:28 UTC
    Bot

    Elastic Docs Style Checker (Vale)

    Summary: 1 warning found

    <details>
    <summary>⚠️ Warnings (1): Fix when the suggestion improves clarity or correctness.</summary>

    | File | Line | Rule | Message |
    |------|------|------|----------|
    | manage-data/data-store/data-streams/metric-temporality.md | 88 | Elastic.Spelling | 'temporalities' is a possible misspelling. |

    </details>

    ---

    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.

    <!-- Sticky Pull Request Commentelastic-vale-results -->

    alexandra5000 alexandra5000 commented on Nov 25, 2026 17:00 UTC
    Author

    @felixbarny could you review these three PRs for technical accuracy? They come out of the OTLP endpoint disambiguation (elastic/docs-content#8540) and the temporality inconsistencies (elastic/docs-content#7963):

  • https://github.com/elastic/opentelemetry/pull/693: the data streams comparison no longer lists /_otlp as its own ingest path. It's now one of the gateway's two write paths, alongside the bulk API. Please check the new paragraph on what /_otlp is, in particular the statement that traces aren't enriched unless the elasticapm processor and connector run first.

  • https://github.com/elastic/opentelemetry/pull/694: splits Histogram and counter temporality into one subsection per ingestion path (Managed OTLP Endpoint, Elasticsearch OTLP endpoint, Collector Elasticsearch exporter).

  • https://github.com/elastic/docs-content/pull/9604: aligns the temporality statements on the Elasticsearch OTLP endpoint, TSDS, metric temporality and Managed OTLP Endpoint pages with that matrix.
  • felixbarny felixbarny commented on code on Nov 26, 2026 08:13 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    As the ES exporter now also supports temporality, I think we can simplify and remove this entirely. @osullivandonal, could you confirm that this is the case?

    kosabogi kosabogi commented on code on Nov 26, 2026 08:42 UTC
    Code Review
    reference/managed-inputs/managed-otlp-endpoint.md:1
    @@ -142,7 +142,7 @@ For a detailed comparison of how OTel data streams differ from classic Elastic A
     
     For {{ech}} deployments running Elastic Stack 9.5.3 or later, the {{motlp}} routes metrics to the native {{es}} OTLP endpoint. Deployments running Elastic Stack 9.0 through 9.5.2 use the {{es}} bulk API compatibility path instead. This routing is automatic and does not require client-side configuration changes.
     
    -The native {{es}} OTLP endpoint supports both `delta` and `cumulative` temporality starting in Elastic Stack 9.5. When sending metrics through the {{motlp}} on {{ech}}, use Elastic Stack 9.5.3 or later to access these capabilities. Refer to [Histogram and counter temporality](opentelemetry://reference/compatibility/limitations.md#histogram-and-counter-temporality) for details.
    +The route determines which metric temporality is supported. On deployments running {{stack}} 9.5.3 or later, the native {{es}} OTLP endpoint supports both `delta` and `cumulative` temporality. On deployments running {{stack}} 9.0 through 9.5.2, the bulk API compatibility path supports only `delta` temporality. For temporality support across all ingestion paths and deployment types, refer to [Histogram and counter temporality](opentelemetry://reference/compatibility/limitations.md#histogram-and-counter-temporality).

    Maybe we could use bullet points for the availability information to make it easier to scan.

    kosabogi kosabogi approved these changes on Nov 26, 2026 08:42 UTC
    Approved Reviewer

    devdocs side LGTM

    osullivandonal osullivandonal commented on code on Nov 26, 2026 09:49 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    @felixbarny correct the ES Exporter now supports both delta and cumulative temporality for histograms and exponential histograms, however for Sums we currently do not, there is a PR upstream to add this for sums: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/52989

    felixbarny felixbarny commented on code on Nov 26, 2026 09:56 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    For which versions are we enabling temporality support by default? 9.5+? Does that mean that for the managed OTLP endpoint, we support temporality consistently for 9.5+, where 9.5.0-9.5.2 are covered by the ES exporter and 9.5.3 is covered by the OTLP Endpoint (assuming the sum support gets in)?

    osullivandonal osullivandonal commented on code on Nov 26, 2026 12:07 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    In the ES Exporter cumulative temporality is supported from ES >= v9.5.0, see here.

    alexandra5000 alexandra5000 commented on code on Nov 26, 2026 12:47 UTC
    Code Review
    reference/managed-inputs/managed-otlp-endpoint.md:1
    @@ -142,7 +142,7 @@ For a detailed comparison of how OTel data streams differ from classic Elastic A
     
     For {{ech}} deployments running Elastic Stack 9.5.3 or later, the {{motlp}} routes metrics to the native {{es}} OTLP endpoint. Deployments running Elastic Stack 9.0 through 9.5.2 use the {{es}} bulk API compatibility path instead. This routing is automatic and does not require client-side configuration changes.
     
    -The native {{es}} OTLP endpoint supports both `delta` and `cumulative` temporality starting in Elastic Stack 9.5. When sending metrics through the {{motlp}} on {{ech}}, use Elastic Stack 9.5.3 or later to access these capabilities. Refer to [Histogram and counter temporality](opentelemetry://reference/compatibility/limitations.md#histogram-and-counter-temporality) for details.
    +The route determines which metric temporality is supported. On deployments running {{stack}} 9.5.3 or later, the native {{es}} OTLP endpoint supports both `delta` and `cumulative` temporality. On deployments running {{stack}} 9.0 through 9.5.2, the bulk API compatibility path supports only `delta` temporality. For temporality support across all ingestion paths and deployment types, refer to [Histogram and counter temporality](opentelemetry://reference/compatibility/limitations.md#histogram-and-counter-temporality).

    Done!

    alexandra5000 alexandra5000 commented on code on Dec 01, 2026 14:44 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    @felixbarny @osullivandonal Thanks! I shortened the sentence instead of removing it. It now says: "On Elastic Cloud Hosted, the Managed OTLP Endpoint preserves temporality for deployments running Elastic Stack 9.5.3 or later." The part about the bulk path supporting only delta temporality is gone, because it was wrong both ways: that path takes delta histograms and cumulative counters.

    I kept the 9.5.3 line for two reasons:

    1. Sums. Until open-telemetry/opentelemetry-collector-contrib#52989 ships, the exporter writes no temporality for sums and stores delta sums as gauges, so 9.5.0 through 9.5.2 can't be fully covered by the exporter.
    2. Histograms. The exporter enables cumulative histograms on its own when it detects Elasticsearch 9.5.0 or later, from exporter 0.165.0, with version_detection on by default. That answers "from which version by default" for a standalone Collector. For the Managed OTLP Endpoint, it depends on whether version detection runs on the bulk path. The README says it can't when the endpoint is resolved per request, and with detection off the exporter drops cumulative histograms on every version.

    @osullivandonal can you confirm whether version detection is on for the Managed OTLP Endpoint bulk path? If it is, and once sums land, I'll change the sentence to 9.5. If it isn't, 9.5.3 stays as the line for ECH.

    The full feature-by-version table is in elastic/opentelemetry#694.

    osullivandonal osullivandonal commented on code on Dec 02, 2026 09:54 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    Version detection is off at present for the motlp bulk path: https://github.com/elastic/hosted-otel-collector/blob/main/helm/index/templates/configmap.yaml#L247 this is due to the endpoint path being a nop. The ES Exporter at present only supports version detection at startup against the endpoint listed in the config. To support version detection here we need to enable version detection per request, which is a large change to the ES Exporter. cc. @felixbarny

    alexandra5000 alexandra5000 commented on code on Dec 02, 2026 12:57 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality only for deployments running {{stack}} 9.5.3 or later. On deployments running earlier versions, it writes metrics through the {{es}} bulk API compatibility path, which supports only delta temporality.

    @osullivandonal thanks, that settles it. 9.5.3 stays as the line for Elastic Cloud Hosted. Both PRs already say that, so there's nothing more to change here or in elastic/opentelemetry#694. I can always update the sentence later if anything changes.

    mdbirnstiehl mdbirnstiehl commented on code on Dec 02, 2026 22:28 UTC
    Code Review
    manage-data/data-store/data-streams/time-series-data-stream-tsds.md:1

    and [`exponential_histogram`](elasticsearch://reference/elasticsearch/mapping-reference/exponential-histogram.md). By default, histograms use delta [temporality](/manage-data/data-store/data-streams/metric-temporality.md). {applies_to}`stack: ga 9.5` Cumulative temporality is also supported for `exponential_histogram`. 
    

    Just noticed this tag kind of hanging out there.

    mdbirnstiehl mdbirnstiehl commented on code on Dec 02, 2026 22:30 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]
     
    -If you use the [HTTP OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md), [managed OTLP intake](/reference/managed-inputs/managed-otlp-endpoint.md), or [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md), you don't have to configure anything.
    -Both OTLP intakes come with a dimension called `temporality` preconfigured in the mappings and preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
    -Prometheus remote write V1 only supports counters and classic Prometheus histograms (represented as counters), which are always cumulative. As this matches the default temporality for counters, the {{es}} remote write endpoint does not set up a temporality field.
    +### Ingestion paths that need no configuration [temporality-no-configuration]
     
    -If you are manually ingesting metrics into custom indices (for example via `_bulk`), you have to explicitly configure temporality on your data stream.
    -To do so, use the [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) index setting. This setting specifies the name of the field that stores the temporality for each document.
    +You don't have to configure anything for these ingestion paths:
     
    -The temporality field must:
    +* **OTLP.** The [{{es}} OTLP endpoint](/manage-data/data-store/data-streams/tsds-ingest-otlp.md) and [{{motlp}}](/reference/managed-inputs/managed-otlp-endpoint.md) both come with a `temporality` dimension preconfigured in the mappings. They preserve the temporality of ingested metrics from the OTLP [temporality metadata](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
     
    -- Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)
    -- Be configured as a [dimension](time-series-data-stream-tsds.md#time-series-dimension) (`time_series_dimension: true`)
    +  On {{ech}}, the {{motlp}} preserves temporality for deployments running {{stack}} 9.5.3 or later.
     
    -Its value must be one of:
    +* **Prometheus remote write.** [Prometheus remote write](/manage-data/data-store/data-streams/tsds-ingest-prometheus-remote-write.md) V1 supports only counters and classic Prometheus histograms (represented as counters), which are always cumulative. Because this matches the default temporality for counters, the {{es}} remote write endpoint doesn't set up a temporality field.
     
    -- `delta`: metrics in the document use delta temporality
    -- `cumulative`: metrics in the document use cumulative temporality
    +For temporality support across all ingestion paths and deployment types, refer to [Histogram and counter temporality](opentelemetry://reference/compatibility/limitations.md#histogram-and-counter-temporality).
    +
    +### Set the temporality field for custom indices [set-temporality-field]
    +
    +If you ingest metrics into custom indices, for example using `_bulk`, set [`index.time_series.temporality_field`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-time-series-temporality-field) on the data stream. This setting names the field that stores the temporality of each document.
    +
    +The field must:
    +
    +* Be mapped as [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#keyword-field-type)

    This might be a little confusing saying it needs to be mapped, but then saying the used doesn't have to define the mapping themself. Could we pull line 78 up to this bullet?

    mdbirnstiehl mdbirnstiehl commented on code on Dec 02, 2026 22:31 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]

    Should we add an intro here? Goes straight from H2 to H3 now.

    mdbirnstiehl mdbirnstiehl approved these changes on Dec 02, 2026 22:35 UTC
    Approved Reviewer

    A couple of suggestions for your consideration, but overall LGTM!

    alexandra5000 alexandra5000 commented on code on Dec 03, 2026 10:32 UTC
    Code Review
    manage-data/data-store/data-streams/metric-temporality.md:1
    @@ -54,29 +54,38 @@ This is the default temporality for [`histogram`](time-series-data-stream-tsds.m
     
     ## Configure temporality [configure-temporality]

    I added one!

    Reviewers
    Assignees
    alexandra5000 alexandra5000
    Labels
    risk: low confidence: 90.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 32.2% (LOW) · Higher = larger blast radius
    32.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.6% · Lower = rushed or shallow review
    90.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3% · Safe to merge
    3%