Skip to content

v1.17

Choose a tag to compare

@redstone99 redstone99 released this 09 Nov 22:05

Changes

  • data field can now be a single string template that renders to a dictionary. These new semantics are in addition to previous semantics. So data can alternatively still be a dictionary with templates inside it. Also, an alert's data field can still override parts of a data field set in the defaults section. An example of the new config syntax is:
  alerts:
    - domain: test
      name: foo
      data: >
         {% if notify_reason == "Fire" %} { "a": "some val" }  {% else %} { "a": "other val" } {% endif %}