Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Mention that these are not yammer metrics

...

In particular, I want to shine the light on three classes which help the tracking of Max, Avg and Min statistics. These classes respectively keep track of the maximum, average and minimum value they have recorded just fine. 
The problem is that these metrics give out inconsistent (in regards to each other) default values. Max gives out `-Inf`, Avg gives out `0.0` and Min gives out `1.7976931348623157e+308` (Double.MAX_VALUE).

...

Change the Min, Avg and Max stats' default value to be be `NaN` and therefore consistent with each other.

It is worth noting that these are Kafka metrics, not Yammer (the third-party library)

Compatibility, Deprecation, and Migration Plan

...