github fxthiry/Valerter v1.2.1

latest releases: v2.0.0, v2.0.0-rc1
15 hours ago

Fixed

  • {{ rule_name }} available in top-level templates and throttle key (issue #31). rule_name is now injected into the render context of templates.<name>.title, body, and email_body_html, and also into the throttle.key template, not just the notifier-level subject_template / body_template. Configs that referenced {{ rule_name }} in a top-level template previously rendered an empty string; they now render the rule name. If an event field happens to be literally named rule_name, the synthetic rule name wins, matching the collision policy of the existing notifier-level contexts.
  • Dotted event fields resolve in throttle.key. The unflatten step introduced in v1.2.0 for template rendering (issue #25) now also applies to the throttle key template, so throttle.key: "{{ nginx.http.status_code }}-{{ hostname }}" works consistently with title / body.

Don't miss a new Valerter release

NewReleases is sending notifications on new releases.