Skip to content

Notification level for actual updates (or problems) only #2115

@BenMcLean

Description

@BenMcLean

Is your feature request related to a problem? Please describe.

Currently, the notification levels are tied to log severity (info, warn, error), but many users want notifications based on whether updates actually occurred, regardless of log level.

Use case:

I want to be notified when containers are updated or when there are problems, but not when scans complete with no updates.

Current behavior:

WATCHTOWER_NOTIFICATIONS_LEVEL=info sends notifications for every scan, even when nothing changed
WATCHTOWER_NOTIFICATIONS_LEVEL=warn only sends notifications for warnings/errors, missing successful updates

Describe the solution you'd like

A new notification level like WATCHTOWER_NOTIFICATIONS_LEVEL=updates that would notify on:

  • Successful updates (when Updated > 0)
  • Warnings and errors

But skip notifications when Updated = 0 and no issues occurred

Describe alternatives you've considered

I currently get notifications on "warn" to stop the spam but it would be nice to get notified on actual updates.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions