| metric |
string |
The name of the metric to submit. Must not exceed 200 characters. Only ASCII alphanumerics, underscores, and periods are allowed. |
| type |
integer |
The type of the metric (0=unspecified, 1=count, 2=rate, 3=gauge) |
| points |
array |
List of data points, each containing a timestamp (Unix epoch in seconds) and a value |
| tags |
array |
List of tags associated with the metric in key:value format (e.g., env:prod) |
| host |
string |
The name of the host that produced the metric data |
| resources |
array |
A list of resources associated with the metric, such as hosts or services |
| interval |
integer |
If the type is rate or count, defines the corresponding interval in seconds |
| unit |
string |
The unit of the metric value (e.g., byte, second, request) |