AnnotationQueryBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
BuiltIn🔗
Enable🔗
Filter🔗
func (builder *AnnotationQueryBuilder) Filter(filter cog.Builder[dashboardv2beta1.AnnotationPanelFilter]) *AnnotationQueryBuilder
Hide🔗
IconColor🔗
LegacyOptions🔗
Catch-all field for datasource-specific properties. Should not be available in as code tooling.
func (builder *AnnotationQueryBuilder) LegacyOptions(legacyOptions map[string]any) *AnnotationQueryBuilder
Mappings🔗
Mappings define how to convert data frame fields to annotation event fields.
func (builder *AnnotationQueryBuilder) Mappings(mappings map[string]cog.Builder[dashboardv2beta1.AnnotationEventFieldMapping]) *AnnotationQueryBuilder
Name🔗
Placement🔗
Placement can be used to display the annotation query somewhere else on the dashboard other than the default location.
Query🔗
func (builder *AnnotationQueryBuilder) Query(query cog.Builder[dashboardv2beta1.DataQueryKind]) *AnnotationQueryBuilder
Spec🔗
func (builder *AnnotationQueryBuilder) Spec(spec cog.Builder[dashboardv2beta1.AnnotationQuerySpec]) *AnnotationQueryBuilder