influxdata / influxdata/influxdb-java
Client-side validation for NaN field values
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
When you submit a metric with a NaN value of a field, it fails server-side with "org.influxdb.InfluxDBException: http: bad request". It would be nice to have client-side validation with a better error message as it can be a bit annoying to track down the cause of the "bad request".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Java client’s metric submission path and checking whether it has existing value validation. The work is done when NaN field values are rejected client-side with a clearer error before the server request; verify the behavior with the relevant tests, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100