Skip to content

fix(telemetry): enable remote write 2.0 for created timestamps - #2629

Merged
dan-petty merged 1 commit into
mainfrom
fix/2506-otel-remote-write-2
Oct 29, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2506-otel-remote-write-2

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Configure the OpenTelemetry Collector's prometheus_remote_write exporter to use remote write 2.0 (remote_write_version: 2) and remove the obsolete export_created_metric: true setting.

Remote write 1.0 does not transmit created timestamps in its sample payload. The export_created_metric flag exported a separate _created metric that Prometheus's created-timestamp-zero-ingestion feature does not consume. Remote write 2.0 natively transmits created timestamps in the OTLP payload, allowing Prometheus to ingest a synthetic zero sample at the start of each cumulative counter series so that increase() counts single-export series.

Closes #2506

Change: openspec/changes/archive/2026-10-29-2506-otel-remote-write-2/

Configure the OpenTelemetry Collector's prometheus_remote_write exporter to use remote write 2.0 (remote_write_version: 2) and remove the obsolete export_created_metric: true setting.

Remote write 1.0 does not transmit created timestamps in its sample payload. The export_created_metric flag exported a separate _created metric that Prometheus's created-timestamp-zero-ingestion feature does not consume. Remote write 2.0 natively transmits created timestamps in the OTLP payload, allowing Prometheus to ingest a synthetic zero sample at the start of each cumulative counter series so that increase() counts single-export series.

Closes #2506

Change: `openspec/changes/archive/2026-10-29-2506-otel-remote-write-2/`
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 12:46
@dan-petty
dan-petty merged commit e84a643 into main Oct 29, 2026
17 checks passed
@dan-petty
dan-petty deleted the fix/2506-otel-remote-write-2 branch October 29, 2026 12:50
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.16.0](v0.15.1...v0.16.0)
(2026-10-29)


### Features

* **service:** the Service keeps one model call in flight by default
([#2627](#2627))
([3fdafbd](3fdafbd))


### Bug Fixes

* **config:** remove the dead cloudflare.access settings
([#2632](#2632))
([dde2f55](dde2f55))
* **roadmap:** read only the last comment as the job record
([#2630](#2630))
([a3eb41f](a3eb41f)),
closes [#2538](#2538)
* **service:** check the GitHub budget for each request
([#2631](#2631))
([99066e7](99066e7))
* **telemetry:** enable remote write 2.0 for created timestamps
([#2629](#2629))
([e84a643](e84a643)),
closes [#2506](#2506)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(telemetry): created timestamps from the collector do not reach Prometheus, so increase() still drops the first export

1 participant