Skip to content

Commit

Permalink
Use working version of influxdb-java
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsquared committed Jul 20, 2015
1 parent e29f64e commit 44b7c6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>com.github.influxdb</groupId>
<artifactId>influxdb-java</artifactId>
<version>influxdb-java-2.0</version>
<version>31c3100</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public void recordGaugeValue(String key, long value) {
public void recordGaugeValues(Map<String, Long> gauges) {
long time = System.currentTimeMillis();
BatchPoints batchPoints = BatchPoints.database(database)
.time(time, TimeUnit.MILLISECONDS)
.build();
for (Map.Entry<String, Long> gauge: gauges.entrySet()) {
batchPoints.point(constructPoint(time, gauge.getKey(), gauge.getValue()));
Expand Down

0 comments on commit 44b7c6b

Please sign in to comment.