Skip to content

contactPoint

grafonnet.alerting.contactPoint

NOTE: The schemas for all different contact points is under development, this means we can't properly express them in Grafonnet yet. The way this works now may change heavily.

Index

Fields

fn withDisableResolveMessage

withDisableResolveMessage(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

fn withName

withName(value)

PARAMETERS:

  • value (string)

Name is used as grouping key in the UI. Contact points with the same name will be grouped in the UI.

fn withProvenance

withProvenance(value)

PARAMETERS:

  • value (string)

fn withSettings

withSettings(value)

PARAMETERS:

  • value (object)

fn withSettingsMixin

withSettingsMixin(value)

PARAMETERS:

  • value (object)

fn withType

withType(value)

PARAMETERS:

  • value (string)
    • valid values: "alertmanager", " dingding", " discord", " email", " googlechat", " kafka", " line", " opsgenie", " pagerduty", " pushover", " sensugo", " slack", " teams", " telegram", " threema", " victorops", " webhook", " wecom"

fn withUid

withUid(value)

PARAMETERS:

  • value (string)

UID is the unique identifier of the contact point. The UID can be set by the user.