github fxthiry/Valerter v2.0.2

3 hours ago

Patch release: actionable validation errors for two user-reported configuration pitfalls, plus dependency bumps clearing all open Dependabot alerts. No new features, no breaking changes.

Fixed

  • Templates referencing fields with / in their name now get an actionable validation error (#41). {{ ocp.annotations.authentication.openshift.io/username }} fails in Jinja because / is the division operator. valerter --validate now appends a hint with the working bracket-notation rewrite ({{ ocp.annotations.authentication.openshift["io/username"] }}). Documented in docs/configuration.md#fields-with-special-characters.

  • Queries using pipes unsupported by /tail are rejected at validation time (#42). stats, sort, top, uniq, limit, offset, first, last, facets, join, field_names, field_values, block_stats, blocks_count and union need the full result set and are refused by the VictoriaLogs /tail endpoint with HTTP 400, which previously showed up as an endless opaque reconnect loop. The rule now fails --validate with an explicit message. Documented in docs/configuration.md#logsql-query-restrictions.

  • Non-2xx VictoriaLogs responses now log the response body (truncated to 512 chars) alongside the status code, so the actual server-side error message is visible in journalctl instead of a bare status=400 Bad Request.

Don't miss a new Valerter release

NewReleases is sending notifications on new releases.