vm_data_write
Insert metric data into the VictoriaMetrics database by specifying metrics, values, and timestamps. Optimized for efficient data storage and retrieval.
Instructions
Write data to the VM database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | tag of metric | |
| timestamps | Yes | Array of metric timestamps | |
| values | Yes | Array of metric values |
Input Schema (JSON Schema)
{
"properties": {
"metric": {
"description": "tag of metric",
"type": "object"
},
"timestamps": {
"description": "Array of metric timestamps",
"items": {
"type": "number"
},
"type": "array"
},
"values": {
"description": "Array of metric values",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"metric",
"values",
"timestamps"
],
"type": "object"
}