Valeiot Data Point
Overview
The Valeiot Data Point is a time-series data structure used to represent a single measurement or observation captured by an external component (such as a device, sensor, log, etc). It is the recommended format for handling large volumes of time-series data—for example, when dealing with millions or even billions of records.
Each Data Point contains the following properties:
variable(string) – e.g."temperature""humidity""pressure"value(any) – e.g.27.1"on"null{lat: 0, lng: 0}time(RFC3339 timestamp) – e.g."2025-03-25T21:03:07.550619Z"- If left null, the system will automatically use the current timestamp at the moment the data is inserted.
Example 1:
{
"variable": "temperature",
"value": 27.1,
"time": "2023-03-25T21:03:07.550619Z"
}
Example 2:
{
"variable": "location",
"value": {
"lat": 0.00,
"lng": 0.00
}
"time": "2023-03-25T21:03:07.550619Z"
}
Valeiot Data Point must follow the presented structure. You should adequate the data before inserting in Valeiot to work. Resources that may be helpful are: Payload Parser and Middleware .
Edition
Data Points are immutable and cannot be edited after being created.
Deletion
Data Points can be deleted by specifying a time range and a limit.
Fetching
Data Points can be retrieved by defining a time range and a limit.