I am adding attonations to my grafana dashboard via the API api/annotations
with the request body:
{
"time": 167419909,
"tags": ["tag1", "tag2"],
"text" : "My annotations"
}
As a response, I am getting 200 OK
with response body:
{
"id": 24,
"message": "Annotation Added"
}
Setting wise I have done the following:
- In my dashboard setting I went to Annotations -> "+New Query"
- Entered the name of annotation as "Events", datasource as --Grafana--
- Ticked the Enabled Checkbox and Unticked the disabled Checkbox
- Show In: All Panels
- Query Type: Annotations and Alerts
- Filter By: Tags
- Max Limit: 100
- Many Any: Toggled On
- Tags: tag1,tag2,etc
But I still dont see any annotation on my graphs.