You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where lastIIntervalTime is computed from the containing StatsDParser.
What did you see instead?
This outputs cumulative temporality when it should output delta temporality.
This receiver should set start timestamp to the beginning of each report window.
Note also
The Summary points output for histogram and timing events also is missing its start timestamp,
however that field is underspecified in OpenTelemetry and while it may be OK to fill in the "beginning of each report window" as the start time, it is not how a Prometheus server would fill out that field. We end up in the case of "degenerate cumulative" which is a cumulative series that resets on every data point as a delta series would do.
This remark is meant to help understand a data model problem with Summary points, which will come to light as this issue is fixed. This issue is meant to apply only to the problem with Sum points.
The text was updated successfully, but these errors were encountered:
I opened a PR that attempts to fix the counter portion of this ticket. Feel free to assign this issue to me, at least, responsibility for the counter part of it.
Describe the bug
The statsdreceiver has these lines:
and
What did you expect to see?
This receiver always outputs delta temporality, so:
and
where
lastIIntervalTime
is computed from the containingStatsDParser
.What did you see instead?
This outputs cumulative temporality when it should output delta temporality.
This receiver should set start timestamp to the beginning of each report window.
Note also
The Summary points output for histogram and timing events also is missing its start timestamp,
however that field is underspecified in OpenTelemetry and while it may be OK to fill in the "beginning of each report window" as the start time, it is not how a Prometheus server would fill out that field. We end up in the case of "degenerate cumulative" which is a cumulative series that resets on every data point as a delta series would do.
This remark is meant to help understand a data model problem with Summary points, which will come to light as this issue is fixed. This issue is meant to apply only to the problem with Sum points.
The text was updated successfully, but these errors were encountered: