Skip to content

AnnotationQuerySpec🔗

Definition🔗

export interface AnnotationQuerySpec {
    query: dashboardv2beta1.DataQueryKind;
    enable: boolean;
    hide: boolean;
    iconColor: string;
    name: string;
    builtIn?: boolean;
    filter?: dashboardv2beta1.AnnotationPanelFilter;
    // Placement can be used to display the annotation query somewhere else on the dashboard other than the default location.
    placement?: "inControlsMenu";
    // Catch-all field for datasource-specific properties. Should not be available in as code tooling.
    legacyOptions?: Record<string, any>;
}

See also🔗