field not found in type config.plain

126 views
Skip to first unread message

熊双辉

unread,
Apr 29, 2020, 3:58:38 AM4/29/20
to Prometheus Users
field region_info not found in type config.plain

field output_channel not found in type config.plain

熊双辉

unread,
Apr 29, 2020, 4:00:34 AM4/29/20
to Prometheus Users
global:
  resolve_timeout: 5m
  output_channel : "*******"
  region_info: "*******"
  smtp_from: '*****'
  smtp_smarthost: "*****"
  smtp_auth_username: "*****"
  smtp_auth_password: "*****"

route:
  receiver: '*****'
  group_by: ['alertname', 'cluster']
  group_wait: 30s
  group_interval: 5m
  repeat_interval: 3h



receivers:
  - name: '*****'
    webhook_configs:
      - send_resolved: true
        url: "https://*****"

在 2020年4月29日星期三 UTC+8下午3:58:38,熊双辉写道:

Brian Candler

unread,
Apr 29, 2020, 4:10:05 AM4/29/20
to Prometheus Users
On Wednesday, 29 April 2020 09:00:34 UTC+1, 熊双辉 wrote:
global:
  resolve_timeout: 5m
  output_channel : "*******"
  region_info: "*******"

The error is saying that "region_info" and "output_channel" are not valid configuration settings for alertmanager.

You can find the allowed configuration here:

What is it you're trying to do?  Are you trying to add labels or annotations to an alert?  If so, you can do that in the alerting rule in the prometheus configuration.

Reply all
Reply to author
Forward
0 new messages