Skip to content

Silenced and Inhibited state not included in alert links #3193

Open
@gebn

Description

@gebn

What did you do?

Click the new "Link" button for a silenced alert in the web UI.

What did you expect to see?

Filters for the alert added, and the alert shown in the list.

What did you see instead? Under which circumstances?

"No alert groups found". I had to manually enable the "Silenced" checkbox to see the alert.

It looks like the state of the "Silenced" and "Inhibited" checkboxes are not taken into account when generating the URL that "Link" points to, causing these alerts to disappear when it is clicked. My understanding is ?silenced=true|false&inhibited=true|false params need to be added.

Environment

  • System information:
Linux 5.10.0-20-cloud-arm64 aarch64
  • Alertmanager version:
alertmanager, version 0.25.0 (branch: HEAD, revision: 258fab7cdd551f2cf251ed0348f0ad7289aee789)
  build user:       root@521a2d62cff8
  build date:       20221222-14:48:36
  go version:       go1.19.4
  platform:         linux/arm64

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