Dataframe
The dataframe format provides parsing for a payload format that matches that used in our input APIs. Using this format, clients can send a single measurement, or a series of measturements for one or more signals.
Example
Topic
dataframe
Payload
{
"times": [
"2021-11-08T08:09:04.5033Z",
"2021-11-08T08:10:04.1233Z"
],
"series": {
"signal-1": [295.356445, 0.12452],
"signal-2": [196.081024, null]
}
}
Payload fields
Name | Type | Required | Description |
---|---|---|---|
times | array of Timestamp | Yes | Array of timestamps to insert. |
series | map of Input ID => array of (number or null ) | Yes | Array of data points to insert by Input ID. The length of each array must match that of the times array. To omit a value for a given timestamp in times , use the value null . |