AnnotationQueryBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
BuiltIn🔗
Set to 1 for the standard annotation query all dashboards have by default.
Datasource🔗
Datasource where the annotations data is
func (builder *AnnotationQueryBuilder) Datasource(datasource dashboard.DataSourceRef) *AnnotationQueryBuilder
Enable🔗
When enabled the annotation query is issued with every dashboard refresh
Expr🔗
Filter🔗
Filters to apply when fetching annotations
func (builder *AnnotationQueryBuilder) Filter(filter cog.Builder[dashboard.AnnotationPanelFilter]) *AnnotationQueryBuilder
Hide🔗
Annotation queries can be toggled on or off at the top of the dashboard.
When hide is true, the toggle is not shown in the dashboard.
IconColor🔗
Color to use for the annotation event markers
Name🔗
Name of annotation.
Target🔗
TODO.. this should just be a normal query target
func (builder *AnnotationQueryBuilder) Target(target cog.Builder[dashboard.AnnotationTarget]) *AnnotationQueryBuilder
Type🔗
TODO -- this should not exist here, it is based on the --grafana-- datasource