Anyone could please explain to me why webhook changes the type of these 3 
highlighted data from KV to string?? <about:invalid#zClosurez>
<about:invalid#zClosurez>
Attached is an alert received on ServiceNow from AlertManager via webhook. 
The type of the 3 fields was changed to string.




{"receiver":"prometheus-snow","status":"firing","alerts":[{"status":"firing","labels":{"alertname":"Watchdog","cluster":"espr-aksepme-dev-westus-cluster-01","geo":"us","prometheus":"espr-prometheus-nonprod/prometheus-prometheus-oper-prometheus","region":"westus","severity":"none"},"annotations":{"message":"This
 
is an alert meant to ensure that the entire alerting pipeline is 
functional.\nThis alert is always firing, therefore it should always be 
firing in Alertmanager\nand always fire against a receiver. There are 
integrations with various notification\nmechanisms that send a notification 
when this alert is not firing. For example the\n\"DeadMansSnitch\" 
integration in 
PagerDuty.\n"},"startsAt":"2020-06-02T06:41:40.558Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-prometheus-oper-prometheus.espr-prometheus-nonprod:9090/graph?g0.expr=vector%281%29&g0.tab=1","fingerprint":"53b6e733174ba8ac"}],
"groupLabels":"","commonLabels":"","commonAnnotations":"","externalURL":"http://prometheus-prometheus-oper-alertmanager.espr-prometheus-nonprod:9093","version":"4","groupKey":"{}:{alertname=\"Watchdog\"}","groupLabels_alertname":"Watchdog","commonLabels_alertname":"Watchdog","commonLabels_cluster":"espr-aksepme-dev-westus-cluster-01","commonLabels_geo":"us","commonLabels_prometheus":"espr-prometheus-nonprod/prometheus-prometheus-oper-prometheus","commonLabels_region":"westus","commonLabels_severity":"none","commonAnnotations_message":"This
 
is an alert meant to ensure that the entire alerting pipeline is 
functional.\nThis alert is always firing, therefore it should always be 
firing in Alertmanager\nand always fire against a receiver. There are 
integrations with various notification\nmechanisms that send a notification 
when this alert is not firing. For example the\n\"DeadMansSnitch\" 
integration in PagerDuty.\n"}


[image: Snip20200603_7.png] <about:invalid#zClosurez>
<about:invalid#zClosurez>
<about:invalid#zClosurez>Zhang <about:invalid#zClosurez>

-- 
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/e8b7bee8-e308-4c4f-ab69-92660001afa4%40googlegroups.com.

Reply via email to