Skip to content

Commit 9159d85

Browse files
committed
Clarify
1 parent 31139cb commit 9159d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/2025-03-25_otel-delta-temporality-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ The `smoothed` proposal works by injecting points at the edges of the range. For
304304

305305
That value would be nonesensical for deltas, as the values for delta samples are independent. Additionally, for deltas, to work out the increase, we add all the values up in the range (with some adjustments) vs in the cumulative case where you subtract the first point in the range from the last point. So it makes sense the smoothing behaviour would be different.
306306

307-
In the delta case, we would need to work out the proportion of the first sample within the range and update its value. We would use the assumption that the start timestamp for the first sample is equal the the timestamp of the previous sample, and then use the formula `inside value * (inside ts - range start ts) / (inside ts - outside ts)` to adjust the first sample (aka the `inside value`).
307+
In the delta case, the adjustment to samples in the range used for the rate calculation would be to work out the proportion of the first sample within the range and update its value. We would use the assumption that the start timestamp for the first sample is equal the the timestamp of the previous sample, and then use the formula `inside value * (inside ts - range start ts) / (inside ts - outside ts)` to adjust the first sample (aka the `inside value`).
308308

309309
### Function overloading
310310

0 commit comments

Comments
 (0)