N'bia
N'bia

Reputation: 76

How to send task name instead of alert id in kapacitor?

when an alert triggered in kapacitor, it sends alert id (name of the alert that's defined in chronograf UI), but I need its task name that's generated automatically.

I'm trying to find out which CLEAR event belongs to which CRITICAL event. In this image, id field is alert name not alet's auto generated id.

this is debug screenshot
this is debug screenshot

Upvotes: 1

Views: 206

Answers (1)

N'bia
N'bia

Reputation: 76

When we use chronograf UI, it generates own TICK script for kapacitor. So it defines alert name as alert id into the frontend. I solved my problem with kapacitor APIs.

Upvotes: 0

Related Questions