Alert template not working



We are trying to find a way to integrate Kapacitor with alertmanager (prometheus).
As the incoming format for alertmanager is different from “post” format of kapacitor we tried to customise it using alert template.

We tried both alert-template and alert-template-file irrespective whatever we customise the JSON payload is not changing(we get default Kapacitor JSON post format). any idea ?

We are setting web hook url in tick script using post(‘url’) syntax


Check this