Fellas,
I am using helm chats (stable) for deploying Prometheus and along with it I 
am adding Alertmanager. Alertmanager setup was successful, however its 
failing when I am adding the OpsGenie integration to it.
Here is the config I used:

> alertmanagerFiles:
>   alertmanager.yml:
>     global:
>       resolve_timeout: 1m
>       opsgenie_api_key: "opsgenie key"
>       opsgenie_api_url: "https://api.opsgenie.com/";
>     route:
>       repeat_interval: 1h
>       group_wait: 10s
>       group_interval: 5m
>       receiver: 'saas-ops'
>     receivers:
>       - name: 'saas-ops'
>         opsgenie_configs:
>           - teams: 'teamname set in opsgenie'


And here is the error I am getting:

> level=error ts=2020-05-18T20:31:53.703Z caller=coordinator.go:124 
> component=configuration msg="Loading configuration file failed" 
> file=/etc/config/alertmanager.yml err="yaml: unmarshal errors:\n  line 8: 
> field teams not found in type config.plain"


The "teams" defined is actually configured within OpsGenie along with the 
api key setup too. 


What am I missing here?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f1a3ff35-5167-401e-b6d9-be3149b56a6e%40googlegroups.com.

Reply via email to