influxdb-java icon indicating copy to clipboard operation
influxdb-java copied to clipboard

Java client for InfluxDB

Results 103 influxdb-java issues
Sort by recently updated
recently updated
newest added

It would be helpful to use enum values in many cases. Enums can then be converted to/from strings when writing/reading to/from DB. I have implemented such support. Should I submit...

If I want to create a query using dynamic selections, for example say from UI we received a request for aggregate function List functions; which as max,min for columns "test1"....

public Select limit(int limit, long offSet) { if (limit > 0 && offSet > 0L) { this.limit = Optional.of(limit); this.offSet = Optional.of(offSet); return this; } else { throw new IllegalArgumentException("Invalid...

There's nothing in `BatchPoints.Builder` javadoc that would warn against calling `build()` multiple times: https://github.com/influxdata/influxdb-java/blob/b1d1d8a2ed4430f6b6ac271362acab7b493be984/src/main/java/org/influxdb/dto/BatchPoints.java#L54-L57 https://github.com/influxdata/influxdb-java/blob/b1d1d8a2ed4430f6b6ac271362acab7b493be984/src/main/java/org/influxdb/dto/BatchPoints.java#L151-L156 and nothing in `build()` method itself that would cause ie exception: https://github.com/influxdata/influxdb-java/blob/b1d1d8a2ed4430f6b6ac271362acab7b493be984/src/main/java/org/influxdb/dto/BatchPoints.java#L156-L174 but creating multiple...

The `pom.xml` that my project used is shown below ``` 4.0.0 xx xxx xxxx xxx org.slf4j slf4j-api 1.7.15 commons-collections commons-collections 3.2.1 org.influxdb influxdb-java 2.21 junit junit 4.12 org.apache.maven.plugins maven-compiler-plugin 3.8.1...

# Environment ``` java 1.8 SpringBoot 2.4.3 SpringCloud 3.0.5 Influxdb-java 2.20 Influxdb 1.8 ``` # Platform ``` client app: windows 10 influxdb server: centos 7 ``` # Question My influxdb...

Refactor code with Extract Method Package: org.influxdb.impl File: RetryCapableBatchWriter.java Refactor code with Decompse Condition Package: org.influxdb.dto File: Point.java Refactor code with "Introduce Explaining Variable" package: org.influxdb.querybuilder File: Appender.java Refactor code...

I am using influxdb-java client version 2.23. When I am executing queries through the influxdb java client it is taking way longer than when I am analysing the same query...

All of the unit tests of the `InfluxDBResultMapper` is based on the assumption that all numbers in response from influxd is `Double`. It will be ok with `JSON`. But `msgpack`...

## Sample code ```java Point build = Point.measurement("test") .addField("metrics", 0.23) .tag("tag", "tag_a") .build(); influxDB.write(build); influxDB.flush(); ``` ## Real ``` Request{method=POST, url=https://influx-prod-06-prod-us-central-0.grafana.net/api/v1/push/influx/write?rp=autogen&precision=n&consistency=one} ``` ## Expected ``` Request{method=POST, url=https://influx-prod-06-prod-us-central-0.grafana.net/api/v1/push/influx/write} ``` I am...