From 44b7c6b601b755a780691488d8c0b0a821aaad4c Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 20 Jul 2015 09:27:20 -0400 Subject: [PATCH] Use working version of influxdb-java --- pom.xml | 2 +- .../com/etsy/statsd/profiler/reporter/InfluxDBReporter.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d72942f..f0090b1 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ com.github.influxdb influxdb-java - influxdb-java-2.0 + 31c3100 io.vertx diff --git a/src/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java b/src/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java index 55a4eda..1e804a7 100644 --- a/src/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java +++ b/src/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java @@ -62,7 +62,6 @@ public void recordGaugeValue(String key, long value) { public void recordGaugeValues(Map gauges) { long time = System.currentTimeMillis(); BatchPoints batchPoints = BatchPoints.database(database) - .time(time, TimeUnit.MILLISECONDS) .build(); for (Map.Entry gauge: gauges.entrySet()) { batchPoints.point(constructPoint(time, gauge.getKey(), gauge.getValue()));