Skip to content

fix(om2.0): consistency, GaugeHistogram and special values#2854

Open
krajorama wants to merge 1 commit intomainfrom
krajo/om2.0-consistency
Open

fix(om2.0): consistency, GaugeHistogram and special values#2854
krajorama wants to merge 1 commit intomainfrom
krajo/om2.0-consistency

Conversation

@krajorama
Copy link
Member

There is no reset for GaugeHistograms , they represent a current and not a cumulative distribution. Reword the sentences copied from the cumulative histogram that are based on a different lifecycle and resets.

There is no reset for GaugeHistograms , they represent a current and
not a cumulative distribution. Reword the sentences copied from the
cumulative histogram that are based on a different lifecycle and resets.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Float and negative bucket values are allowed to make it possible to expose results of arithmetic operations on GaugeHistograms, such as the rate of change of a Histogram over time.

A GaugeHistogram SHOULD NOT include NaN measurements as including NaN in the Gsum will make the Gsum equal to NaN and mask the sum of the real measurements for the lifetime of the time series. If a GaugeHistogram includes NaN measurements, then NaN measurements MUST be counted in the Gcount and the Gsum MUST be NaN.
A GaugeHistogram SHOULD NOT include NaN measurements as including NaN in the Gsum will make the Gsum equal to NaN and mask the sum of the real measurements until NaNs are removed from the distribution. If a GaugeHistogram includes NaN measurements, then NaN measurements MUST be counted in the Gcount and the Gsum MUST be NaN.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it mean for something to be removed from a distribution? Is that something supported by client libraries today?

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.

3 participants