Skip to content

AnnotationTargetBuilder🔗

TODO: this should be a regular DataQuery that depends on the selected dashboard

these match the properties of the "grafana" datasouce that is default in most dashboards

Constructor🔗

new AnnotationTargetBuilder()

Methods🔗

build🔗

Builds the object.

build()

limit🔗

Only required/valid for the grafana datasource...

but code+tests is already depending on it so hard to change

limit(limit: number)

matchAny🔗

Only required/valid for the grafana datasource...

but code+tests is already depending on it so hard to change

matchAny(matchAny: boolean)

tags🔗

Only required/valid for the grafana datasource...

but code+tests is already depending on it so hard to change

tags(tags: string[])

type🔗

Only required/valid for the grafana datasource...

but code+tests is already depending on it so hard to change

type(type: string)

See also🔗