The OpsGenie V2 API /alerts endpoint supports supplying a list of arbitrary tags in the tags JSON body field when submitting a POST request to create an alert. It would be nice if kapacitor exposed this functionality in the OpsGenie2 event handler.
var ogTags = ['Awesome', '{{ index .Tags "awesome_tag" }}']
stream
|alert()
.opsGenie2()
.tags(ogTags)
.teams('AwesomeTeam')
Is there a work around for adding tags using TICKscript? It would be nice if there was the ability to add any additional values that opsgenie expose to using the script.
The OpsGenie V2 API
/alerts
endpoint supports supplying a list of arbitrary tags in thetags
JSON body field when submitting a POST request to create an alert. It would be nice if kapacitor exposed this functionality in the OpsGenie2 event handler.https://docs.opsgenie.com/docs/alert-api#section-create-alert