Each monitor data is wrapped in an envelope data structure with the following format as listed below:
- dataModelVersion | string
The version of the wrapper data model. For Example, it might be 2.0, 2.1.
Wrapper and Data Model
Wrapper and actual data model versions are different because wrapper data are not interested in with the actual data itself so their data models can be changed independently from each other.
type | string
Type of the monitoring data. Valid values are:
data | string|object
The monitor data itself. It can be
JSON formatted object
Or compressed and encoded string if compression is enabled (
apiKey | string
API key to be used for sending monitor data.
compressed | boolean
Indicates whether monitor data is first compressed with Gzip and then encoded. To process compressed monitor data, it must be decoded first and then decompressed by Gzip. This field is optional. So if there is no such field, this means that there is no compression.