Skip to content

Commit 619eda0

Browse files
authored
Update metrics client (#184)
* Update metrics client version. * Adopt latest metrics-client-java and metrics-apache-http-sink to send user dimensions; specifically, to support new partitioning of data in PeriodicStatisticsSink via dimensions.
1 parent 79a4242 commit 619eda0

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
<log4j.over.slf4j.version>1.7.25</log4j.over.slf4j.version>
9393
<metrics.aggregator.protocol.prometheus.version>1.0.0</metrics.aggregator.protocol.prometheus.version>
9494
<metrics.aggregator.protocol.version>1.0.8</metrics.aggregator.protocol.version>
95-
<metrics.client.version>0.11.0</metrics.client.version>
96-
<metrics.client.http.version>0.11.0</metrics.client.http.version>
95+
<metrics.client.version>0.11.1</metrics.client.version>
96+
<metrics.client.http.version>0.11.1</metrics.client.http.version>
9797
<metrics.client.incubator.version>0.11.0</metrics.client.incubator.version>
9898
<metrics.jvm.extra.version>0.11.0</metrics.jvm.extra.version>
9999
<oval.version>1.90</oval.version>

src/test/java/com/arpnetworking/metrics/mad/integration/TelemetryIT.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ public void testFromAggregatedData() throws InterruptedException, ExecutionExcep
122122
.setMaximum(5.5)
123123
.setSum(60.5)
124124
.setHistogram(ImmutableMap.of(
125-
1.1, 1,
126-
2.2, 2,
127-
3.3, 3,
128-
4.4, 4,
129-
5.5, 5))
125+
1.1, 1L,
126+
2.2, 2L,
127+
3.3, 3L,
128+
4.4, 4L,
129+
5.5, 5L))
130130
.setPrecision(7)
131131
.build());
132132
}
@@ -139,11 +139,11 @@ public void testFromAggregatedData() throws InterruptedException, ExecutionExcep
139139
.setMaximum(11.0)
140140
.setSum(363.0)
141141
.setHistogram(ImmutableMap.of(
142-
6.6, 6,
143-
7.7, 7,
144-
8.8, 8,
145-
9.9, 9,
146-
11.0, 10))
142+
6.6, 6L,
143+
7.7, 7L,
144+
8.8, 8L,
145+
9.9, 9L,
146+
11.0, 10L))
147147
.setPrecision(7)
148148
.build());
149149
}
@@ -186,9 +186,9 @@ public void testFromMixedSamplesAndAggregatedData() throws InterruptedException,
186186
.setMaximum(5.5)
187187
.setSum(55.0)
188188
.setHistogram(ImmutableMap.of(
189-
3.3, 3,
190-
4.4, 4,
191-
5.5, 5))
189+
3.3, 3L,
190+
4.4, 4L,
191+
5.5, 5L))
192192
.setPrecision(7)
193193
.build());
194194
}
@@ -209,8 +209,8 @@ public void testFromMixedSamplesAndAggregatedData() throws InterruptedException,
209209
.setMaximum(11.0)
210210
.setSum(199.1)
211211
.setHistogram(ImmutableMap.of(
212-
9.9, 9,
213-
11.0, 10))
212+
9.9, 9L,
213+
11.0, 10L))
214214
.setPrecision(7)
215215
.build());
216216
}

0 commit comments

Comments
 (0)