post
https://{app-url}{}/api/v1/metrics
Pushing data to Anodot
Send Data Samples
Use this API to send metrics to Anodot based on a schema you've defined (Protocol 3.0) Please note that the maximal number of entries is 10K per request.
Some guidelines for using the protocol:
- Measurement names, dimension and tag names and values should contain ascii/UTF-8 characters only.
- The following characters are not allowed: “.”, “=” and SPACE. (Remove them or replace then with "_".
- Dimension name is a string, 1-50 characters.
- Dimension value is a string, 1-150 characters.
Request Arguements:
| Field | Description |
|---|---|
| schemaId | ID returned from the Create Schema API call. |
| timestamp | Integer representing the data sample timestamp (Unix epoch time in seconds). Must not be more than one hour in the future. |
| dimensions | Array of key-value pairs representing the metric dimensions. |
| measurements | Array of measurement values represented as decimal double-precision numbers, without thousands separators. |
| tags | (Optional) List of key-value tags attached to the metric. Tags are metadata and do not affect metric uniqueness. |
200Successful response
