prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

Handle OTLP StartTime (similar to OpenMetrics Created timestamp)

Open bboreham opened this issue 1 year ago • 2 comments

Proposal

The OTLP field StartTime / StartTimeUnixNano is described here. If I understand correctly, under Cumulative Temporality it could be used exactly like the Created timestamp in #6541, to add a 0 at the beginning of a series and hence avoid losing the first increment in rate().

(The only place I could find OTLP StartTime mentioned was at https://github.com/prometheus/prometheus/issues/13192, although it is only there incidentally)

bboreham avatar Aug 06 '24 11:08 bboreham

Related nuanse https://github.com/open-telemetry/opentelemetry-specification/issues/4184 with the current CT zero injection and rates.

bwplotka avatar Aug 21 '24 13:08 bwplotka

Hello from the bug scrub!

This is being worked on.

beorn7 avatar Jun 10 '25 11:06 beorn7