Create annotations in Graphite format
POST/v1/grafana/api/annotations/graphite
Creates an annotation in the Grafana database by using Graphite-compatible event format. Please ensure to change the region in the URL to match your account's region.
Request
- application/json
Body
what string
Graphite annotation.
when integer
Epoch datetime of the annotation in milliseconds. Optional. If when
is not specified then the current time will be used as annotation’s timestamp..
tags string[]
Annotation tags. Can also be in prior to Graphite 0.10.0 format (string with multiple tags being separated by a space).
data string
Annotation Description.
Responses
- 200
successful query
- application/json
- Schema
- Example (from schema)
Schema
id integer
ID.
message string
Confirmation message.
{
"id": 1,
"message": "Graphite annotation added"
}
Loading...