Skip to content

Watchtower 0.1.1

Latest

Choose a tag to compare

@olucurious olucurious released this 05 Oct 18:38

New

  • Spike protection. Every event is counted, but each issue stores 20 events in full per hour, then one in 1,000, so an error storm costs counts, not disk. Totals, charts, digests and alerts stay exact. An issue's first event and the event that reopens it are always stored. Set WATCHTOWER_EVENTS_PER_ISSUE_HOUR to change the limit, or 0 to store every event. A new metric, watchtower_worker_events_counted_only_total, shows it at work.

Fixed

  • Linear sync could stop for good. Links it couldn't check (a deleted Linear issue, or a key that couldn't be read or was rejected) were never marked as checked and stayed first in line. Once 200 piled up, completing a Linear issue no longer resolved the Watchtower issue.
  • Source maps were loaded and decompressed from the database for every stack frame, even when cached, and the cache was limited by count rather than memory. Maps are now loaded only on a cache miss, and the cache holds at most 64 MB.
  • Frequency alerts now count from the hourly totals, so they keep firing during storms.
  • Source map uploads write all files in one statement instead of one per file.

Upgrade

Run the installer again, or docker compose pull && docker compose up -d in your install directory.