I’m not sure if this is related to 7.0 because I just started to add annotations programmatically but they don’t show. Manually created annotations with the same tag and in a similar time window are displayed.
Automatic annotations are created via POST with bearer authentication. All annotations are listed when queried via API but only the manually created annotation with ID 31 appears in the panel:
[
{
"id": 29,
"alertId": 0,
"alertName": "",
"dashboardId": 6,
"panelId": 2,
"userId": 0,
"newState": "",
"prevState": "",
"created": 1589948818589,
"updated": 1589948818589,
"time": 1589860264,
"timeEnd": 1589860264,
"text": "auto 10.3 min",
"tags": [
"min"
],
"login": "admin",
"email": "admin@localhost",
"avatarUrl": "/avatar/46d229b033af06a191ff2267bca9ae56",
"data": {}
},
{
"id": 30,
"alertId": 0,
"alertName": "",
"dashboardId": 6,
"panelId": 2,
"userId": 0,
"newState": "",
"prevState": "",
"created": 1589948818589,
"updated": 1589948818589,
"time": 1589909030,
"timeEnd": 1589909030,
"text": "auto 26.5 max",
"tags": [
"max"
],
"login": "admin",
"email": "admin@localhost",
"avatarUrl": "/avatar/46d229b033af06a191ff2267bca9ae56",
"data": {}
},
{
"id": 31,
"alertId": 0,
"alertName": "",
"dashboardId": 6,
"panelId": 2,
"userId": 0,
"newState": "",
"prevState": "",
"created": 1589948875672,
"updated": 1589948875672,
"time": 1589875383888,
"timeEnd": 1589875383888,
"text": "manual",
"tags": [
"min"
],
"login": "admin",
"email": "admin@localhost",
"avatarUrl": "/avatar/46d229b033af06a191ff2267bca9ae56",
"data": {}
}
]
What am I missing?