The problem is that I didn’t see any log recored when the alert was fired on 
AlertManager.. Seems the alert was not sent to prometheus-steams at all.. When 
I tested the alert manually I was able to see log recorded on prometheus-steams 
sth. like below…. But when the alert was fired on AlertManager, I didn’t see 
anything happen in the log on prometheus-steams...


{"caller":"transport.go:81","err":"json: cannot unmarshal string into Go struct 
field Message.groupLabels of type 
template.KV","ts":"2020-06-04T18:59:54.515883159Z"}
{"caller":"transport.go:52","host":"localhost:2000","method":"POST","status":500,"took":"398.26772ms","ts":"2020-06-04T18:59:54.617527149Z","uri":"/testChannel"}


> On Jun 4, 2020, at 2:46 PM, Brian Candler <[email protected]> wrote:
> 
> Sorry I can't help you further: if alerts are arriving at alertmanager and 
> being forwarded to ServiceNow successfully, then it sounds like a problem 
> with the third-party package prometheus-msteams 
> <http://quay.io/prometheusmsteams/prometheus-msteams> or its configuration.
> 
> Have you tried looking to see if it generates any logs when processing / 
> forwarding an alert?  Otherwise you may need to look into the source code and 
> get it to print some extra debugging.
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/d0a20fc8-79d0-4bba-bf1c-8ccca38321eco%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/prometheus-users/d0a20fc8-79d0-4bba-bf1c-8ccca38321eco%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/9990E24D-8F55-423A-AA5E-58DB0E9F75C2%40gmail.com.

Reply via email to