Improving Kapacitor Alerts to PagerDuty


Currently on Kapacitor v1.4 and the Pagerduty v1 api.

We’re seeing Kapacitor send alert details to pagerduty which are mixed with formatting statements. Is there a way to clean this up? For constraint reasons we’re staying with Kapacitor v1.4 and the v1 pagerduty API.

An example pagerduty alert detail:

{"Name":"stats","TaskName":"","Group":"host=#34;,"Tags":{"host":""},"ServerInfo":{"Hostname":"","ClusterID":"#34;,"ServerID":""},"ID":"#34;,"Fields":{"emitted":0},"Level":"CRITICAL","Time":"","Duration":0,"Message":" DOWN - Host ;}

Does anyone know why this happens? Thanks!