Update content/influxdb/cloud-serverless/reference/client-libraries/v3/java.md

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
pull/5529/head
Suyash Joshi 2024-07-24 11:42:59 +01:00 committed by GitHub
parent f1a3d213b8
commit 2cf6f2c80b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ public class HelloInfluxDB {
}
}
// Write sample measurement using Point class API
// Use the Point class to construct time series data.
// Call client.writePoint to write the point as line protocol to your bucket.
private static void writeData(InfluxDBClient client) {
Point point = Point.measurement("temperature")
.setTag("location", "London")