Annotation is a nice feature in grafana. But after checking the table in database, a question is raised.
How can we set a rention period for annotaion records?
The data type of id is interger, so it’s highly possible that you will receive a gift from Euler.
In django, you will get something like IntegrityError: (1062, “Duplicate entry ‘2147483647’ for key ‘PRIMARY’”)
Maybe it will be better to provide a paramter in grafana-cli.