File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/com/arpnetworking/tsdcore/model Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 9090 <logback .steno.version>2.1.2</logback .steno.version>
9191 <log4j .over.slf4j.version>2.0.16</log4j .over.slf4j.version>
9292 <metrics .aggregator.protocol.prometheus.version>1.1.0</metrics .aggregator.protocol.prometheus.version>
93- <metrics .aggregator.protocol.version>1.1.0 </metrics .aggregator.protocol.version>
93+ <metrics .aggregator.protocol.version>1.2.1 </metrics .aggregator.protocol.version>
9494 <metrics .client.version>0.13.0</metrics .client.version>
9595 <metrics .client.http.version>0.13.1</metrics .client.http.version>
9696 <metrics .client.incubator.version>0.13.0</metrics .client.incubator.version>
Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ private static ByteString serializeSupportingData(final AggregatedData datum) {
143143 }
144144 builder .setUnit (unit );
145145
146+ // Need to add 1 since 0 is the default value and indicates no precision was set.
147+ builder .setPrecision (histogram .getPrecision () + 1 );
148+
146149 for (final Map .Entry <Double , Long > entry : histogram .getValues ()) {
147150 builder .addEntriesBuilder ()
148151 .setBucket (entry .getKey ())
You can’t perform that action at this time.
0 commit comments