Release Announcement: Kapacitor 1.6.2

2 minutes

A new maintenance release of Kapacitor is available now.

This release for Kapacitor includes the following fixes and improvements:

  • TICKscript Enhancement
    • jsonCompact – For alert templates, row templates, and details templates, add support for third-party services that reject standard json (terminated by a new line character) by compacting json in templates.
      • To do this, replace {{ json . }} with {{ jsonCompact . }} in your templates.
      • This change also compacts Big Panda alert details to prevent Big Panda reporting a service error.
  • Flux Tasks Improvements
    • Kapacitor uses an InfluxDB database to store Flux task run logs. Previously, you had to manually create the database to store Flux logs. Now, Kapacitor automatically creates an InfluxDB database for these Flux task logs (by default, kapacitor_fluxtask_logs). For more information, see how to use Flux tasks with Kapacitor.
    • Switched the task service to use a Flux formatter that preserves comments.
  • Other
    • The template-id property has been added to the GET /kapacitor/v1/tasks API response. Adding this property helps identify tasks that were created from a template. Chronograf 1.9.1 leverages this property to help show tasks which have been created via templates.
    • Correctly validate that connected InfluxDB instances are running whendisable-subscriptions is set to true in the InfluxDB section of the Kapacitor configuration file. If InfluxDB is not available, Kapacitor does not start.
    • Implement expvar string json encoding to correctly handle special characters in measurement strings, thanks @prashanthjbabu!

The binaries for the latest open source release can be found on our downloads page.

If you find issues or have questions, please join our InfluxDB Community Slack, post them in our Kapacitor Github Repo or our Community Site and we will take a look.

Related Blog Posts

Start the discussion at community.influxdata.com

Scroll to Top