0

在 grafana 图表中,我尝试添加通知程序并获取错误。通知器配置如下:

notifiers: {}
    - name: email-notifier
      type: email
      uid: email1
      # either:
      org_id: 1
      # or
      org_name: Main Org.
      is_default: true
      settings:
        addresses: an_email_address@example.com
4

1 回答 1

1

关键部分丢失了

通知程序.yaml:

通知人:

notifiers: {}
  notifiers.yaml:
    notifiers:
    - name: email-notifier
      type: email
      uid: email1
      # either:
      org_id: 1
      # or
      org_name: Main Org.
      is_default: true
      settings:
        addresses: an_email_address@example.com
于 2021-07-20T13:34:32.540 回答