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 90
90
<logback .steno.version>2.1.2</logback .steno.version>
91
91
<log4j .over.slf4j.version>2.0.16</log4j .over.slf4j.version>
92
92
<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>
94
94
<metrics .client.version>0.13.0</metrics .client.version>
95
95
<metrics .client.http.version>0.13.1</metrics .client.http.version>
96
96
<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) {
143
143
}
144
144
builder .setUnit (unit );
145
145
146
+ // Need to add 1 since 0 is the default value and indicates no precision was set.
147
+ builder .setPrecision (histogram .getPrecision () + 1 );
148
+
146
149
for (final Map .Entry <Double , Long > entry : histogram .getValues ()) {
147
150
builder .addEntriesBuilder ()
148
151
.setBucket (entry .getKey ())
You can’t perform that action at this time.
0 commit comments