annotate_test
Add Grafana annotations for test events on sensors, including start/end times, results, and rate changes. Supports range annotations and dashboard linking with default ramp-test tagging.
Instructions
Add a Grafana annotation on a sensor for test events (start/end/result/rate change). Supports range annotations and dashboard association. Tagged with ramp-test by default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "annotate_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sensor | No | Sensor hostname | |
| text | Yes | Annotation text | |
| tags | No | Annotation tags (e.g., ["ramp-test", "ns2"]) | |
| time | No | Annotation epoch timestamp (defaults to now) | |
| timeEnd | No | End epoch timestamp for range annotations | |
| dashboardUid | No | Dashboard UID to associate annotation with |