diff --git a/README.md b/README.md index edcd5ab..b468940 100644 --- a/README.md +++ b/README.md @@ -350,7 +350,18 @@ The default histogram implementation uses a random sampling algorithm with expon This was authored by Johan Buratti. -## Distribution [Experimental] +## Distribution [DO NOT USE] + +**Distributions are no longer supported. The code to create them and the Heroic code to query them still exists, however they are being retired and no further adoption should occur.** + +**Heroic is being retired in favor of OpenSource alternatives, and this distribution implementation will not be portable to the future TSDB/query interface. Since only a few services with a few metrics had experimented with distributions, the choice was made to halt adoption now, to reduce the pain of conversion to a proper histrogram later.** + + + +*For historical refrence only* + +**DO NOT USE** + Distribution is a simple interface that allows users to record measurements to compute rank statistics on data distribution, not just a local source. Every implementation should produce a serialized data sketch in a byteBuffer as this metric point value. diff --git a/ffwd-reporter/src/main/java/com/spotify/metrics/ffwd/FastForwardReporter.java b/ffwd-reporter/src/main/java/com/spotify/metrics/ffwd/FastForwardReporter.java index 060582d..8126b94 100644 --- a/ffwd-reporter/src/main/java/com/spotify/metrics/ffwd/FastForwardReporter.java +++ b/ffwd-reporter/src/main/java/com/spotify/metrics/ffwd/FastForwardReporter.java @@ -371,6 +371,7 @@ private void reportDistribution(final com.spotify.ffwd.v1.Metric metric, ByteString byteString = distribution.getValueAndFlush(); Value value = Value.distributionValue(byteString); send(metric.value(value)); + log.warn("Using DEPRICATED 'distribution' metric_type, this is no longer supported"); } private String getUnit(final Metric m) {