Annotation: Optionally allow storing longer annotation tags (#54754)

* Annotation: Optionally allow longer annotation tags

* Do not accept configuration lower than today's default (500)

* Apply suggestion from code review
This commit is contained in:
Sofia Papagiannaki
2022-09-23 13:04:41 +03:00
committed by GitHub
parent 883c7a802b
commit d0e7765c6a
10 changed files with 101 additions and 22 deletions

View File

@@ -1387,6 +1387,10 @@ Configures max number of alert annotations that Grafana stores. Default value is
Configures the batch size for the annotation clean-up job. This setting is used for dashboard, API, and alert annotations.
### tags_length
Enforces the maximum allowed length of the tags for any newly introduced annotations. It can be between 500 and 4096 (inclusive). Default value is 500. Setting it to a higher value would impact performance therefore is not recommended.
## [annotations.dashboard]
Dashboard annotations means that annotations are associated with the dashboard they are created on.